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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to