On Thu, 2011-10-20 at 10:23 -0400, Alejandro Soto wrote:
> Hi, thanks for your replies, These are the only ways I have to do it?, I was
> reading something about filters, but I think only works with user
> interaction.
> 

Basically, that's all. Filters are only active during the
request-response cycle. Once the response is sent, it's done. Strictly
speaking, you could do some kind of ajax thing but that's far into
crazy-land -- just a bad variation on what's already been suggested.


> Thanks.
> 
> On Thu, Oct 20, 2011 at 10:08 AM, Hassan Schroeder <
> hassan.schroe...@gmail.com> wrote:
> 
> > 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
> >
> >
> 
> 



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

Reply via email to