tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <hassan.schroe...@gmail.com>
Subject Re: control of session timed out with tomcat
Date Thu, 20 Oct 2011 14:08:28 GMT
On Thu, Oct 20, 2011 at 6:51 AM, Alejandro Soto <smalejandro@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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message