tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koes, Derrick" <Derrick.K...@Smith-Nephew.com>
Subject session timeout
Date Wed, 14 Aug 2002 15:11:48 GMT
How closely does Tomcat follow the servlet specification concerning web.xml?

 

I added the following to my web.xml, but the session seems to timeout
immediately (0 minutes).

  <session-config>

    <session-timeout>0</session-timeout>

  </session-config>

 

However, the servlet 2.3 spec states:

 

"If the timeout is 0 or less, the container ensures the default behaviour of
sessions is never to time out."

 

The bottom line is I need to know how to make my webapp's session never
timeout.

Can anyone help?


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message