tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harshal Joshi" <harshal.jo...@recreatesolutions.com>
Subject RE: Tomcat's session and memory management
Date Thu, 06 Jul 2006 09:45:42 GMT
Hi,

In web.xml you can define session time. Like,

	<session-config>
		<session-timeout>30</session-timeout>
	</session-config>
here 30 is in minutes...

when you close window at that time just write
	session.invalidate();


-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Cameron
Sent: Thursday, July 06, 2006 12:39 PM
To: users@tomcat.apache.org
Subject: Tomcat's session and memory management


Hello

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?

Another question is how does one increase the memory available for 
tomcat (V4.1.31) in a windows environment running as a service.

Thank you.


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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