• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Session Restoration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Session Restoration
      • From: Chuck Hill <email@hidden>
    • Re: Session Restoration
      • From: Sacha Mallais <email@hidden>
  • Prev by Date: AW: Information regarding the WO5.3 Tools
  • Next by Date: Re: Session Restoration
  • Previous by thread: subversion with interface builder
  • Next by thread: Re: Session Restoration
  • Index(es):
    • Date
    • Thread