Hi Ywtsang,

Not an answer to your question, but you can also consider using a ajax
timer to keep the session alive.

For example as outlined in
http://chillenious.wordpress.com/2007/06/19/how-to-create-a-text-area-with-a-heart-beat-with-wicket/.

Regards,
    Erik.


ywtsang wrote
> we want to handle session expiration exception triggered by an ajax request
>
> since the session is expired, the ajax request can't be forwarded to the
> corresponding ajax behavior, instead, the server throw session expiration
> exception 
> (we have configured the handling by
> getApplicationSettings().setPageExpiredErrorPage)
>
> the handling is ok for non-ajax request, but not ajax request
>
> we want to handle that using client side javascript
>
> how can we achieve that?
>
>   

--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


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

Reply via email to