This content has been marked as final.
Show 2 replies
-
1. Re: Holding onto a message past Session invalidation
kogber Aug 27, 2008 1:58 AM (in response to kogber)Postscript:
It need not be a FacesMessage - I just need a vehicle/semaphore/Event/Exception of some sort that can be passed from the about-to-be-expired session to the new session created when the login page loads, so that the login page knows whether or not to display a
your session has timed out
message.Thanks!
Here is some stuff I have read and tried:
https://jira.jboss.org/jira/browse/JBSEAM-2257 (the patch, namely)
http://www.seamframework.org/11290.lace
http://solutionsfit.com/blog/2007/11/16/session-expired-messages-using-seam-security/
-
2. Re: Holding onto a message past Session invalidation
thejavafreak Aug 27, 2008 6:56 PM (in response to kogber)You can try using Seam contextual event:
http://docs.jboss.org/seam/2.1.0.BETA1/reference/en-US/html/events.html#d0e4746
and Seam @Observer, to listen whenever the session has timeout to throw the message:
http://docs.jboss.org/seam/2.1.0.BETA1/reference/en-US/html/annotations.html#d0e23354