When you make a normal request to the server and the session is expired, you is redirected to a "Session expired" page. But if you make an AJAX request to the server the _javascript_ request fails and then calls the Failure script. But since there is no way of telling what the course of calling the failure script is, there is no way of displaying an expired notice (or expired page redirect) instead of an error notice (or error page redirect).
Wouldn't it make sense to either have Wicket automatically redirect to the expired page or at least be able to tell in the failure _javascript_ that it is due to expired session and not an general error?
Regards
Frank
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop