Hello,

I want my app to last at least 120 minutes.
It dies after 30 minutes ... WHY ?

Cheers
Jacek


-----Original Message-----
From: syg6 [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2007 1:18 PM
To: users@tomcat.apache.org
Subject: Re: session dying



Not sure what you're trying to do with 480 and 600 but the session-timeout
is
specified in minutes. If you want your app to timeout after 30 minutes,
put

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

Bob

Jacek Munch wrote:
>
> Hello,
>
> I looked around this list, and noticed that nobody has the similar
> problem.
> Seems I'm setting something wrong. What ?
>
> I have a JSP application. I start it with my browser and make it
inactive
> for more than 30 minutes.
> My session dies, so the user has to login back again.
>
> In conf \ web.xlm I have
> <session-config>
> <session-timeout>600</session-timeout>
> </session-config>
>
> in myapp \ Web-inf\ web.xml I have
> <session-config>
> <session-timeout>480</session-timeout>
> </session-config>
>
> in my jsp application I have
> session.setMaxInactiveInterval(120);
>
> Tomcat manager shows default value of inactive time = 480
> There is nothing in Tomcat logs at debug level.
>
> tested on
> Tomcat 5.5.17
> Tomcat 5.5.23
> Tomcat 6.0.13
>
> OS
> Win XP Pro 32bit
> Win 2003 server 64bit
>
> JRE
> 1.6.01
>
> Please point me what I am doing wrong
> Yours
> Jacek M
>
>
>

--
View this message in context:
http://www.nabble.com/session-dying-tf3975353.html#a11284828
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to