Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 24563 invoked from network); 14 Sep 2000 01:11:07 -0000 Received: from unknown (HELO vdcrexc1.orange.ch) (212.215.1.70) by locus.apache.org with SMTP; 14 Sep 2000 01:11:07 -0000 Received: by vdcrexc1.orange.ch with Internet Mail Service (5.5.2650.21) id ; Wed, 13 Sep 2000 09:33:57 +0200 Message-ID: <2B26E094BB13D3118FB3006008214FA5F06EEB@vdlaexc0.orange.ch> From: Kitching Simon To: "'tomcat-user@jakarta.apache.org'" Subject: RE: session timeouts? Date: Wed, 13 Sep 2000 09:33:56 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Luis Andrei Cobo [SMTP:valis@megapathdsl.net] > Sent: Wednesday, September 13, 2000 4:17 AM > To: tomcat-user@jakarta.apache.org > Subject: session timeouts? > > I know in ASP you can do this in the global ASA file: > > sub Session_onEnd > session.abandon > response.redirect "/logged_out.asp" > end sub > > how can you do this in JSP? [Kitching Simon] Almost the same... <% session.invalidate(); response.sendRedirect("/logged_out.jsp"); %> See the java servlet API documentation for more info.. (can be downloaded from sun). Regards, Simon > Luis