Hi Vikas,

I have used a Servlet Filter to detect if the session id is present, or if
it has changed... to trigger a redirect to a session timeout page.

Cheers
Mark


On 3/21/07, Vikas Sasidharan <[EMAIL PROTECTED]> wrote:

 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


-------------------------------------------------------------------------
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

Reply via email to