Yes.  Using the HttpSession object, or I believe in the new J2ee API
there is a HttpSessionListener object, you can test if the session is
valid.  If it is not then redirect to wherever you want.  Probably the
simplest way is to test via if(request.getSession() == null) then go
somewhere else 

On Mon, 2002-10-21 at 10:40, Lior Shliechkorn wrote:
> When Tomcat times a session out, as instructed in the web.xml, is there a way to 
>capture that so a page can be displayed that the session has timed out, or even 
>prompt the user if he would like to continue being logged on?
> 
> Thanks,
> 
> Lior
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site


___________________________
David H. Patton
C.O.S.
[EMAIL PROTECTED]
x4727 - desk
(202) 276-8998 - pcs




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to