• 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
Re: wosid != session().sessionID()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wosid != session().sessionID()


  • Subject: Re: wosid != session().sessionID()
  • From: Faizel Dakri <email@hidden>
  • Date: Tue, 28 Oct 2008 19:53:48 -0500


On Oct 28, 2008, at 07:37 PM, Ricardo J. Parada wrote:

Anyways, does any body have any advise as to why this is happening? If the original session expired, would then session() return a new session?


Yes, I believe the session() method will create a new session if it cannot find the referenced session from the URL or if the referenced session has timed out (I'm assuming you're calling this from within your direct action class). You can use the existingSession() method, which returns null if an existing session cannot be found.

Fez


_______________________________________________ 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
References: 
 >wosid != session().sessionID() (From: "Ricardo J. Parada" <email@hidden>)

  • Prev by Date: Re: Object Store Coordinator and User Info – Is this Dangerous?
  • Next by Date: Re: Object Store Coordinator and User Info – Is this Dangerous?
  • Previous by thread: Re: wosid != session().sessionID()
  • Next by thread: Re: WebService and HTTPS
  • Index(es):
    • Date
    • Thread