session cleanup hooks
session cleanup hooks
- Subject: session cleanup hooks
- From: Michael Engelhart <email@hidden>
- Date: Sun, 1 Aug 2004 08:38:53 -0500
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.