Re: session cleanup hooks
Re: session cleanup hooks
- Subject: Re: session cleanup hooks
- From: Chris Pavicich <email@hidden>
- Date: Sun, 1 Aug 2004 11:02:11 -0400
isTerminating()?
see:
http://developer.apple.com/documentation/WebObjects/Reference/API/com/
webobjects/appserver/WOSession.html
On Aug 1, 2004, at 9:38, 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.
_______________________________________________
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.