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

Re: session cleanup hooks


  • Subject: Re: session cleanup hooks
  • From: Hsu <email@hidden>
  • Date: Sun, 1 Aug 2004 09:01:27 -0700

WOSession.terminate() should be called before a session is destroyed.

Karl

On Aug 1, 2004, at 6:38 AM, Michael Engelhart wrote:

Are there any hooks that can be called when a session is getting terminated by the application. I have legacy network connections that I open and store in a users session to avoid connection overhead with every request and would like to neatly close them down rather then just wait for the legacy system to shut them down when they time out.
From what I can tell it also doesn't appear that WOApplication (or Wonder's ERXApplication which I'm using) does session cleanup by calling terminate() on the session objects at least from Monitor. I saw a thread somewhere saying that Monitor uses an undocumented application shutdown method which doesn't call WOApplication.terminate() or ERXApplication.terminate(). For a framework that is so mature I'm really surprised at how little there is in the way of shutdown hooks there are built into WebObjects.


Does anyone know of any way to write in these hooks?

Thanks
KMike
_______________________________________________
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.



--

The sun oozed over the horizon, shoved aside darkness, crept along the greensward, and, with sickly fingers, pushed through the castle window revealing the pillaged princess, hand at throat, crown asunder, gaping in frenzied horror at the sated, sodden amphibian lying beside her, disbelieving the magnitude of the frog's deception, screaming madly, "YOU LIED !!!"

Homepage:
     http://homepage.mac.com/khsu/index.html
_______________________________________________
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 cleanup hooks (From: Michael Engelhart <email@hidden>)

  • Prev by Date: Re: session cleanup hooks
  • Next by Date: Strange behavior with OEModeler
  • Previous by thread: Re: session cleanup hooks
  • Next by thread: Strange behavior with OEModeler
  • Index(es):
    • Date
    • Thread