tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Wahl" <guoqian.w...@ezcross.com>
Subject Session timeout
Date Tue, 13 Jan 2004 06:16:29 GMT
Hi,all 

I am using TC4.0.6,
After I setting session timeout to -1 by adding following in 
web.xml:

  <session-config>
    <session-timeout>-1</session-timeout>
  </session-config>

In a servlet of the same web module I get such interesting output:

hs.getMaxInactiveInterval() = -60  // hs is HttpSession

My question is, why "-1" is replaced by "-60"?

Regards
Chris

Mime
View raw message