Re: Session objects
Re: Session objects
- Subject: Re: Session objects
- From: Art Isbell <email@hidden>
- Date: Sun, 30 Mar 2003 17:07:54 -1000
On Sunday, March 30, 2003, at 11:29 AM, Richard L. Peskin wrote:
Where are the Session objects actually stored? Are they in memory or in
a file?
They are in memory by default. If you want to store them in a DB or
file, you can. This provides the ability of a session to change to a
different application instance should the original instance become
unavailable for some reason. See WOSessionStore docs for more info.
When are they released?
Well, for sure when the session terminates either by timing out or by
the invocation of a "sign out" method that terminates the session. A
session object might be released each time it is stored by
WOSessionStore, but I'm not sure. I think I've noticed that the
address of the session object remains constant over several
request-response cycles which might argue against it being released
after each request-response cycle. Anyone know?
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.