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]

Reply via email to