tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <Peter.Crowt...@melandra.com>
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?

http://www.jguru.com/faq/view.jsp?EID=415341

> 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: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message