Or register a listener that implements HttpSessionListener, which implements the methods sessionCreated(HttpSessionEvent e) and sessionDestroyed(HttpSessionEvent e).
-----Original Message----- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Monday, February 27, 2006 3:34 PM To: MyFaces Discussion Subject: Re: Session Expiration Default Target? A servlet filter is probably the best bet since you can both check for the expired session and redirect before JSF is ever involved. On 2/27/06, Elam Daly <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there someway to tell my faces application that when the session has > expired, to return to a certain page? > > I have a session time of 5 minutes for my application and the pages are > password protected. What's happening is that people are clicking on the > links and what not after the session expiration date, and the app is > throwing errors. The password protection is custom, not tomcat container > authentication, so I need to do the redirecting via JSF. > > Thanks, > Elam Daly >

