tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandros Kotsiras" <>
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

-----Original Message-----
From: Warnken, Jens []
Sent: Thursday, July 20, 2000 5:02 AM
To: ''
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

View raw message