You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Robert Zinger <rz...@gmail.com> on 2009/04/20 17:28:55 UTC

[T4] Session Timeout Handling

Hello,

I am using Tapestry 4.0.2. Is there a way in hivemind/tapestry to
"hook" into session timeout
handling.  I.e. when the session times out because the user walked
away for a long period of time, is there some specialized
cleanup/reset tasks that can be performed on that event.

Additionally, is there a way to "reset" the session to the same state
as it was when the user logs back in?

-Robert

-Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T4] Session Timeout Handling

Posted by Andreas Andreou <an...@di.uoa.gr>.
I don't remember any tapestry specific handler for the session
timeout to have ever existed...

You should just be able to implement a custom HttpSessionListener and
register it with your application server from web.xml

On Mon, Apr 20, 2009 at 6:28 PM, Robert Zinger <rz...@gmail.com> wrote:
> Hello,
>
> I am using Tapestry 4.0.2. Is there a way in hivemind/tapestry to
> "hook" into session timeout
> handling.  I.e. when the session times out because the user walked
> away for a long period of time, is there some specialized
> cleanup/reset tasks that can be performed on that event.
>
> Additionally, is there a way to "reset" the session to the same state
> as it was when the user logs back in?
>
> -Robert
>
> -Robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org