>I just found out that sessions on my webapp are automatically being
>logged out after some period of time. Even when they are being used.

this should not be the case <session-timeout> should be the inactivity
timeout
what version of tomcat?
Filip

----- Original Message -----
From: "G. Wade Johnson" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, September 04, 2003 2:36 PM
Subject: Session Timeout


I've just been surprised by something that I thought I understood.

I just found out that sessions on my webapp are automatically being
logged out after some period of time. Even when they are being used.

>From reading the docs, it appears that the normal timeout behavior is
to terminate any session that has lived longer than n minutes. Is this
correct?

Also there appears to be a <session-timeout/> element that allows you
to set the length of this timeout.

However, if I am reading the documentation correctly, the only way to
set an "inactivity timeout" is programmatically? (I actually thought
the "session-timeout" was an "inactivity timeout".<shrug/>)

How is the best way to go about adding this feature? Is the
HttpSessionListener interface the best way to go?

Thanks,
G. Wade

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



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

Reply via email to