Re: Running a Session routine only once, when user first logs in
Re: Running a Session routine only once, when user first logs in
- Subject: Re: Running a Session routine only once, when user first logs in
- From: Art Isbell <email@hidden>
- Date: Mon, 13 Jan 2003 10:57:34 -1000
On Sunday, January 12, 2003, at 05:40 AM, Clayton Leitch wrote:
However, in WebObjects 5.2 it appears that every time the session is
called the variables are set to their defaults and then the session
awake method sets them back to the correct.
I smell the creation of new sessions as the explanation. Run your app
under the debugger and break in Session.awake. Note the address of
"this". If it changes on each break, you need to figure out why new
sessions are being created. One explanation would be that you are
using a browser that does a favicon request and that you are running in
Direct Connect mode.
Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.