tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Ward <david.w...@dotech.com>
Subject Re: Change Tomcat default session timeout?
Date Wed, 10 Oct 2001 18:11:14 GMT
I don't know how to disable timeout altogether, but I do know (at least 
in 3.2.x) that removing the item makes you default to the container, 
which I think is 30 minutes.

--

josh.m.daynard@accenture.com wrote:

> Great.  Thank you!  I was able to find this in my conf\web.xml file.  What
> value would I use to disable session timeout altogether, -1, 0, or remove
> the item altogether?
> 
> Thanks,
> Josh D.
> 
> 
>                                                                                     
                              
>             "Michal Trojanowski"                                                    
                              
>             <mtr@adgam.com.pl>           To:     <tomcat-user@jakarta.apache.org>
                                 
>                                          cc:                                        
                              
>             10/10/2001 11:57 AM          Subject:     Re: Change Tomcat default session
timeout?                   
>             Please respond to                                                       
                              
>             tomcat-user                                                             
                              
>                                                                                     
                              
>                                                                                     
                              
> 
> 
> 
> 
> You have to edit it in file:
> TOMCAT_HOME\conf\web.xml
> 
>   <session-config>
>     <session-timeout>30</session-timeout>
>   </session-config>
> 
> Regards
> 
> Michal
> 
> 
> ----- Original Message -----
> From: <josh.m.daynard@accenture.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, October 10, 2001 5:30 PM
> Subject: Change Tomcat default session timeout?
> 
> 
> 
>>Hi,
>>
>>I'm sure this simple question is covered somewhere in the Tomcat
>>documentation, FAQ, or server.xml info ... but I can't seem to find it:
>>
>>How can I change the default session timeout behavior of Tomcat?  It
>>
> seems
> 
>>like my users timeout at around 20-30 minutes of inactivity, but I would
>>like to increase that time (maybe to infinity) ... what do I need to add
>>
> to
> 
>>server.xml to make this happen?!
>>
>>Thanks for your patience with this newbie question ...
>>
>>Josh D.
>>
>>
>>This message is for the designated recipient only and may contain
>>privileged or confidential information.  If you have received it in
>>
> error,
> 
>>please notify the sender immediately and delete the original.  Any other
>>use of the email by you is prohibited.
>>
>>
>>
> 
> 
> 
> 
> 
> This message is for the designated recipient only and may contain
> privileged or confidential information.  If you have received it in error,
> please notify the sender immediately and delete the original.  Any other
> use of the email by you is prohibited.
> 
> 




Mime
View raw message