tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandros Kotsiras" <kotsi...@mediaondemand.com>
Subject RE: HttpSession.invalidate() on Tomcat shutdown?
Date Thu, 20 Jul 2000 14:01:26 GMT

This is not possible any more. Up to the 2.0 API you could have a servlet
get all the session IDs from the HttpSessionContext Interface and invalidate
them. You could do this in the destroy() method of the servlet ( like a
SessionManager servlet) which is guaranteed to be called
when you shutdown Tomcat via shutdown.bat but not when you just do Ctrl-C or
kill -9 PID .
For security reasons the HttpSessionContext interface was depracated in the
2.1 API with NO REPLACEMENT.




-----Original Message-----
From: Warnken, Jens [mailto:Jens.Warnken@IZB-SOFT.de]
Sent: Thursday, July 20, 2000 5:02 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: HttpSession.invalidate() on Tomcat shutdown?


Hi there,

is there a HttpSession.invalidate() call on all HttpSession objects that are
all instantiated when a shutdown of Tomcat is wanted? If yes, I am fine.

Thanks in advance,

Jens Warnken


Mime
View raw message