Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcar session management

Status
Not open for further replies.

garlam

Programmer
Oct 15, 2004
10
IT
I'm using tomcat to handle session management on my site.
On web.xml file I have:

<session-config>
<session-timeout>30</session-timeout>
<!-- 30 minutes -->
</session-config>

I wuold like to unset session time (I want no session time) ... wath I have to do ??? Is it sufficient to remove these tag ??? Thanks in advance.

 
If you remove the tag, the container will default to 30 minutes.

I would just add a stupidly large number like 24 hours (86400) or 2 weeks (1209600) .

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top