rg
> Subject: RE: Session timeout - SOLVED
> Date: Fri, 17 Oct 2008 16:48:05 +
>
>
> I've done it using an interceptor and it works properly. Thanks all!
>
> > From: [EMAIL PROTECTED]
> > To: user@struts.apache.org
> > Subject: RE: Session timeout
>
I've done it using an interceptor and it works properly. Thanks all!
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
> Subject: RE: Session timeout
> Date: Thu, 16 Oct 2008 12:12:08 -0400
>
>
> your web.xml contains a session-timeout parameter set e.g.
>
your web.xml contains a session-timeout parameter set e.g.
30
from my understanding..regular catalina SSL or non-SSL connector has no ability
to understand events
you may want to look at implementing NIOConnector which will throw RetryRequest
for Continuation.getEvent() calls
http://
I think the usual method is to have some kind of authentication
interceptor on your stack. If it cannot find a
User/Login/Authentication object in the session for the current request,
then it redirects to the login page. That's all server-side, of course.
Francisco Exposito wrote:
Hi,
How
I was getting a valid session when the session was
indeed
> expired.
>
>
> -Original Message-
> From: faisal abdallah [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 29, 2006 2:30 PM
> To: Struts Developers List; [EMAIL PROTECTED]
> Subject: RE: Session Timeout
>
&g
I was getting a valid session when the session was
indeed
> expired.
>
>
> -Original Message-
> From: faisal abdallah [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 29, 2006 2:30 PM
> To: Struts Developers List; [EMAIL PROTECTED]
> Subject: RE: Session Timeout
>
&g
-Original Message-
From: faisal abdallah [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 2:30 PM
To: Struts Developers List; [EMAIL PROTECTED]
Subject: RE: Session Timeout
This can be done easily with javascript inside the main layout
email me on [EMAIL PROTECTED] and I will send
I don't know whether struts is having any readymade classes or not.
But what your are trying to create is fairely simple
create a listener which listens session expiration event by extending class
HttpSessionListener.
In the sessionDestroyed method, do the operation which you want.
-Jignesh
If I don't miss my guess, it sounds like you want to do what declarative
security would do for you.
Any protected page gets redirected to a login form.
After successfully logging in, the user is redirected to where he wanted
to go in the first place.
This isn't struts specific, but it does work w
9 matches
Mail list logo