Re: Tomcat and Session timeouts
From: Carl Howells (chowells_at_janrain.com)
Date: 01/29/04
- Next message: Christophe Vanfleteren: "Re: Compiling a JSP programmatically"
- Previous message: Knute Johnson: "Re: JTree?"
- In reply to: Tony Morris: "Re: Tomcat and Session timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jan 2004 10:36:48 -0800
Tony Morris wrote:
> Use a HttpSessionListener.
> If the session times out, you could update a dynamic message that the login
> page displays.
What am I missing? If the Listener notifies my code of a timeout, I know that a
given user's session has timed out. And so I know that when that listener hits the
login page again, I should include a timeout message. But how do I know when that
particular user hits the timeout page again? I can't get session information from
them anymore, can I?
Or do I need to use some extra mechanism to keep track of the user name they think
they've logged in with, like a cookie or some kind URL encoded information? I'd
really like to avoid having an extra mechanism if I can.
- Next message: Christophe Vanfleteren: "Re: Compiling a JSP programmatically"
- Previous message: Knute Johnson: "Re: JTree?"
- In reply to: Tony Morris: "Re: Tomcat and Session timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|