Re: Way to cleanup *before* session terminates ?

2003-08-01 Thread Charlie Toohey
Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:18 AM To: [EMAIL PROTECTED] Subject: Re: Way to cleanup *before* session terminates ? Sorry Charlie (ok, I couldn't resist :), but there isn't a way to do this in Tomcat 4.x and lower. However

RE: Way to cleanup *before* session terminates ?

2003-08-01 Thread Shapira, Yoav
] Sent: Friday, August 01, 2003 1:49 PM To: Tomcat Users List Subject: Re: Way to cleanup *before* session terminates ? Just tried implementing HttpSessionActivationListener, and the sessionWillPassivate method does not get called when the session is invalidated. I'm using Tomcat 4.1.24. Maybe its

Re: Way to cleanup *before* session terminates ?

2003-07-31 Thread Bill Barker
Sorry Charlie (ok, I couldn't resist :), but there isn't a way to do this in Tomcat 4.x and lower. However, the (current draft of the) 2.4 Servlet-Spec has changed the behavior, and so in Tomcat 5.x you can define a HttpSessionListener that will get called before the session is invalidated.

RE: Way to cleanup *before* session terminates ?

2003-07-31 Thread Shapira, Yoav
Howdy, What about the HttpSessionActivationListener's sessionWillPassivate() event? Yoav Shapira Millennium ChemInformatics -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:18 AM To: [EMAIL PROTECTED] Subject: Re: Way to cleanup *before