Re: Session termination code
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.