On Thu, Oct 20, 2011 at 6:51 AM, Alejandro Soto <smalejan...@gmail.com> wrote: > Hi my friends, I want to ask you all, If there is a way to control the timed > out of sessions with tomcat, what I need is when the session timed out, > automatically the user is redirected to the login page, Is this possible to > do that from tomcat?, I mean, tomcat triggers some event to the user with > session timed out, with no need user interaction.
No. That's not how the web works :-) What you *can* do is put a meta-refresh tag in the head of each page (with the time set the same as your session timeout) that redirects to a protected resource, which will bring up the login page. HTH, -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org