Hi There,

        Please find attached.

Basically I used a listener add the created session to a Vector. That
session is also added to the timer task, along with a timeout period.

The sessionInactivityMonitor is used as a session bean, the timer task is
static.

basically every timer a page request was received the controllers id is
passed in along with the action.

Hope this helps

Thanks

Pete


-----Original Message-----
From: Mark W. Webb [mailto:[EMAIL PROTECTED]
Sent: 07 October 2003 14:49
To: Tomcat Users List
Subject: Re: auto refresh pages and session timeout


I would like to see the code.  Thank you.


Peter Guyatt wrote:

>Hi There,
>
>       I had a similar problem and basically started an internal timer that was
>only reset if the page requested was not the same as the previous page.
>
>I could forward you the code if required.
>
>Thanks
>
>Pete
>
>-----Original Message-----
>From: David Rees [mailto:[EMAIL PROTECTED]
>Sent: 06 October 2003 21:51
>To: [EMAIL PROTECTED]
>Subject: Re: auto refresh pages and session timeout
>
>
>On Mon, October 6, 2003 1at 1:12 am, Mark W. Webb sent the following
>
>
>>Is there a way to implement "<meta http-equiv="refresh" content="60">"
>>
>>
>tag in HTML and still have the ability to timeout a session after X
>number of minutes ?  Would there have to be some logic in place for the
>servlet that changes the session timeout for every refresh?
>
>Changing the JSP to not use a session might work:
>
><[EMAIL PROTECTED] session="false"%>
>
>-Dave
>
>
>
>
>---------------------------------------------------------------------
>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]

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

Reply via email to