If you use container authentication or filters, this isn't an issue. The user will never get to an action class with an invalid session.
Edgar -----Original Message----- From: Kirk Wylie [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2003 1:19 PM To: Struts Users Mailing List Subject: Re: How to detect that session has expired ? Ashish Kulkarni wrote: > HI > if u are using servelt 2.3 , then u can use servelt > filter, in this filter u can have logic to check > session before each request so u dont need to add any > code in jsp or action class If he's using Servlet 2.3, then he can also use the ServletContextListener in conjunction, where is where the logic for whether the session has been restarted could likely belong. Kirk Wylie M7 Corporation --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]