Hi Adam,
One possibility is to have the timing out of the session be managed by your container and have the redirection issued by a filter.
If you are using Tomcat 4+ this is very straightforward to implement. In the web.xml, you declare your session-timeout value and your filter class. After having declared your filter, you need to map it to a uri for which it will be applied.
Aladin
Adam Lipscombe wrote:
Folks,
I there a standard way of handling session timeouts. If a user has been inactive for longer than N minutes I want to redirect them to the login page.
It occurs to me that this could be done in a) the RequestProcessor or b) in an JSP include.
Is there another way? What is best practice?
TIA - Adam
--------------------------------------------------------------------- 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]