Session Restoration
Session Restoration
- Subject: Session Restoration
- From: David Griffith <email@hidden>
- Date: Fri, 2 Sep 2005 19:53:05 +0200
HI all,
Can anyone tell me if this looks correct?
WOSession curSess = WOApplication.application().restoreSessionWithID(recentSessionID, context());
I am calling this in the DirectAction.java class to attempt to restore an existing session using an ID (recentSessionID) that I know. The intention was to avoid multiple sessions being created in a certain situation. The recentSessionID exists already and was recently created or if it does not exist it is handled differently.
However even though it does appear to use the Session ID that I give it, a new session appears to be created with each connection (according to the JavaMonitor at least).
Am I doing something wrong here?
Regards, David.
|
_______________________________________________
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