Have the sessionListener track the session duration and on timeout remove
attributes from session.
Also, On each struts view, before displaying check for a session attribute,
if not present redirect to session timeout page using logic:forward
/S
On 1/5/07, fea jabi <[EMAIL PROTECTED]> wrote:
Stanislav wrote:
> I'm using Struts 1.2.7 and JBoss 4.0.3 and I'm having by default session time
> out set to 30min. Is there any way to change this value to 1-2 hours?
>
web.xml:
120
> [...] i don't know if user "catch" session time out.
>
HttpSessionListener
> Session timeout is specified in web.xml.
:-) I can't believe that this is so simple :-)))
> You need a session listener. Google should give you a few results.
OK, I will.
Tnx,
Stanislav
-
To unsubscribe, e-mail: [EMAIL PROT
NitroX for Struts
-Original Message-
From: Rajat Pandit, Gurgaon [mailto:[EMAIL PROTECTED]
Sent: Monday, June 14, 2004 9:56 PM
To: 'Struts Users Mailing List'
Subject: RE: session time out
Hello Lokanath,
I am not sure if this is the best way to go about it, but yes maybe
Hello Lokanath,
I am not sure if this is the best way to go about it, but yes maybe you
could give it a shot, in the action where you are checking for the session
object (could be a login bean or something) make sure that you throw a
custom exception and using the global exception handler in the
st
when a new session is created, and do what
ever you want to there.
Hermod
-Opprinnelig melding-
Fra: Adam Hardy [mailto:[EMAIL PROTECTED]
Sendt: 31. mars 2004 09:56
Til: Struts Users Mailing List
Emne: Re: Session Time Out
Hi Kumar,
struts will create the session. AFAIK there is no way to
Hi Kumar,
struts will create the session. AFAIK there is no way to disable it in
struts.
Adam
On 03/30/2004 11:17 PM Kumar M wrote:
I am setting the web application to time out in 60 mins. After that if
the user sends a request from the expired browser session I was hoping
to identify that sta
7 matches
Mail list logo