• 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: Session termination code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Session termination code


  • Subject: Re: Session termination code
  • From: Art Isbell <email@hidden>
  • Date: Fri, 16 May 2003 08:29:38 -1000

On Friday, May 16, 2003, at 06:05  AM, Paul-Liviu Petrus wrote:

Is there another method, which _is_ called when a session is destroyed
and where I could put my code? I didn't find anything yet.

You could register an object (e.g., your Application instance) to receive the SessionDidTimeOutNotification (see NSNotificationCenter). This notification's object is the session ID, so you'd need to do something to associate the person with the session ID. One approach might be to create a dictionary in Application that maps session ID's to persons. This mapping could be done when the person associated with a session is set.


Aloha,
Art
_______________________________________________
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.

References: 
 >Session termination code (From: "Paul-Liviu Petrus" <email@hidden>)

  • Prev by Date: Re: Calculator example (Web Services)
  • Next by Date: WOXMLCoder/decoder bug with optional to-one relations?
  • Previous by thread: Session termination code
  • Next by thread: Re: Session termination code
  • Index(es):
    • Date
    • Thread