• 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 objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Session objects
      • From: Jonathan Rochkind <email@hidden>
References: 
 >Session objects (From: "Richard L. Peskin" <email@hidden>)

  • Prev by Date: Re: Simple Query Issues (Improved Grammer)
  • Next by Date: Fwd: [OB-Dev] Annoying BigDecimal problems in 5.2
  • Previous by thread: Session objects
  • Next by thread: Re: Session objects
  • Index(es):
    • Date
    • Thread