Hi everybody,
How can I handle a session-timeout when doing an ajax request with wicket?
Currently (e.g. using an AbstractAjaxTimerBehavior) the user is redirected to the session expired page. I would like to handle this on the client side using javascript (for a better user experience).
Overriding onException (doing nothing) and getFailureScript are working well if another error occurs on the server side or the server does not respond at all. But not if the server responds and the user's wicket session is expired.
Any suggestions are very much appreciated, thanks a lot.
Peter