Re: wosid != session().sessionID()
Re: wosid != session().sessionID()
- Subject: Re: wosid != session().sessionID()
- From: Chuck Hill <email@hidden>
- Date: Tue, 28 Oct 2008 17:43:25 -0700
On Oct 28, 2008, at 5:37 PM, Ricardo J. Parada wrote:
I have a direct action that sometimes it gets a null pointer
exception because some of the information previously stored in the
session is no longer there and my code assumes it is there.
Anyways, digging a little bit more I found out that the reason is
doesn't find the information stored in the session is because the
session() method is not returning the original session corresponding
to the wosid in the URL. I made my direct action log the wosid from
the URL and session().sessionID() and they are different:
wosid = iLdoMvh8zYtFsNsph9lltg
session().sessionID() = Hh5Qoar5sRzlXzwDnvBh0w
Anyways, does any body have any advise as to why this is happening?
If the original session expired, would then session() return a new
session?
Yes.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden