Hi, In our application, we have the (seemingly common) requirement that when the user is redirected to the login page as a result of session timing out, a helpful message should be displayed on the page explaining why he has to login again.
Currently, we are using an HttpSessionListener to get notified about the time out but we are facing a challenge in this regard - how do we use the listener to indicate to the user (and that particular user alone) that the session has timed out? We currently use a ServletContext attribute for this, which is then used by the login page to decide whether to show the message or not. However, this obviously means that a different user trying to log in "fresh" to the app would also get to see this (misleading) message. Any ideas are welcome. :-) Thx & Rgds, Vikas ------------------------------------------------------------------------- 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 _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer