My current plan was to add a bit of java script that would just redirect to a logout message after the the session timeout period was reached (say 30 minutes).

I guess I was wondering if there was already a standard way that this kind of scenario should be handled kind of like error pages in the web.xml file.

But I think I like your Servlet Filter idea.

Thanks
Dennis

David Friedman wrote:
Just add a Servlet Filter class that checks for the session.  When then come
in each time, see if the cookie for the JSESSIONID matches the session using
HttpServletRequest methods like request.isRequestedSessionIdFromCookie() or
request.isRequestedSessionIdFromURL() WITH and
request.isRequestedSessionIdValid()

Regards,
David

-----Original Message-----
From: Dennis Gesker [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 2:56 PM
To: MyFaces Discussion
Subject: [OT] Logout Page

Could someone point to an example of how to have a user directed to a
page when their session ends?


--
Dennis R. Gesker
email: [EMAIL PROTECTED]
Key Id: 0xEFA10A51

Reply via email to