Running a Session routine only once, when user first logs in
Running a Session routine only once, when user first logs in
- Subject: Running a Session routine only once, when user first logs in
- From: Clayton Leitch <email@hidden>
- Date: Sun, 12 Jan 2003 10:40:43 -0500
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.