I think Eain is saying that he has some operations that take a long
time, and he wants to suspend the timeout counter during those
operations.

So suppose the timeout in web.xml is 5 minutes.  One particular
operation takes 10 minutes to complete.  Do not expire session.

However, if the user is idle when there is NOT a long process running,
expire after 5 minutes.

Is that what you meant, Eain?

-Justin



-----Original Message-----
From: Fogleson, Allen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 8:57 PM
To: Struts Users Mailing List
Subject: RE: Session Idle

That is exactly how the session timeout works. If the user is idle (i.e
has not submitted a request in X time) then it is timed out (assuming X
is the timeout) otherwise a request acts sort of as a "renew this
session for X more minutes"

Al


-----Original Message-----
From: Eain Mat [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 7:32 PM
To: Struts Users Mailing List
Subject: Re: Session Idle

if i invalidate the session, everything will be destory in the session.
I still want the session to keep alive when user is in the middle of
their processing operation even the session-timeout is passed. I only
want to timeout their session, if they are not doing anything.
 
 
Eain mat

Martin Gainty <[EMAIL PROTECTED]> wrote:
--web.xml contents--


5 


then trap on the invalidate method for your HttpSession object
Makes sense???
Martin-
----- Original Message -----
From: "Eain Mat" 
To: 
Sent: Tuesday, April 05, 2005 7:44 PM
Subject: Session Idle


> What is the simplest way to track the session idle? We cannot use
session-timeout in web.xml because there may be leftover operation that
is
needed to process.
>
> Eain Mat
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to