tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <>
Subject RE: Tomcat's session and memory management
Date Thu, 06 Jul 2006 09:41:58 GMT
> From: Cameron
> Would anyone know how to adjust the length of time/period tomcat's 
> session is active?

> Is there a way to force session to clear when 
> someone closes their browser?

No, as you cannot know reliably that the browser has been closed due to
features of HTTP.  An oft-repeated recommendation is to use a frame or
IFRAME in your application with a rapid META REFRESH (say once every
couple of minutes).  If you don't see these refreshes for a few minutes,
you can time out the session.

		- Peter

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message