So, in your HttpSessionListener's sessionCreated method add the HttpSessionActivationListener to the session as an attribute.
HTH,
Jon
Kal Govindu wrote:
Hi Yoav,
Ok, now my listener class implements a HttpSessionActivationListener and neither of the function; sessionDidActivate or sessionWillPassivate are being called. Do I need anything special to implement this and so that Did Activate and will Passivate events fire?
I am running on Tomcat4.1.12, if that matter.
Thanks Kal
-----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 2:35 PM To: Tomcat Users List Subject: RE: Persistent Sessions
Howdy, I'm sorry, I meant use an activation listener instead of the context listener to invalidate them. That should work. contextDestroyed() is too late as all the session handling has already happened.
Yoav Shapira Millennium ChemInformatics
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
