Hi,
How are you checking the time remaining for a session?

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Peter Johnson [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 20, 2004 12:24 AM
>To: Tomcat Users List
>Subject: <session-timeout> is out by factor of 100?
>
>Hi,
>
>Is anyone successfully using the web.xml session timeout configuration
>with Tomcat 5.0.25? Testing seems to indicate that this setting is out
>by a factor of 100 however using session.setMaxInactiveInterval seems
to
>yield the desired result.
>
>E.g. Printing the time remaining (in ms) in a session when using:
>session.setMaxInactiveInterval(180) // 3 min in seconds
>  ---> presents 179226 == ~3 min
>however, setting
><session-config>
>  <session-timeout>5</session-timeout>
></session-config>
>  ---> presents 29992101 == ~500min
>
>Thanks,
>PJ
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to