java - How to handle session timeout with wicket ajax requests? -


How can I control session-timeout while requesting ajax with a wicket?

The user is currently redirected to a page ending in the session (such as using the object's Ajax timer behavior). I would like to handle it on the client side using javascript (for better user experience).

Overriding and getFailureScript are working well on accessation (if not doing anything) if an error occurs on the server server or the server does not respond completely, but if the server does not respond and the user does not respond The wicket session has ended.

Any suggestion has been very appreciated, thanks a lot.

Peter

I have found an ugly solution for this, Ajax is not seeing the demand to handle the termination of the session on the client side.

Take a look at the solution here:


Comments