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: steve stout <email@hidden>
- Date: Sun, 12 Jan 2003 18:40:16 -0700
What about putting the code in the constructor of Session.java?
That'll only get called once.
//steve
On Sunday, January 12, 2003, at 08:40 AM, Clayton Leitch wrote:
I have a set of session variables that are set when a user first logs
in. They are set in the awake method. When the user moves from one
page to another within the application, these session variables do not
need to be reset. 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 have
an if-then that checks to see if the session variables are at default
values. If true it executes the the routine that sets them. How do I
get the session variables to stick throughout the session, without
having them reset each time the session is awakened?
Thanks,
Clay
_______________________________________________
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.
_______________________________________________
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.