If you mean what I think you mean, you would invalidate the session to log
the user out.

I use this (the header stuff is because IE caches pages like they're going
out of style!):

<%
  response.setHeader("Cache-Control","no-store");
  response.setHeader("Pragma","no-cache");
%>

<% session.invalidate(); %>

Anyone else please advise if there's a cleaner or more correct way to do
this.

Colin

> -----Original Message-----
> From: Robert Einsle [SMTP:[EMAIL PROTECTED]
> Sent: Monday, March 24, 2003 2:05 PM
> To:   Tomcat Users List
> Subject:      Explicit logout from an jsp-Site
> 
> Hy all
> 
> i'm writing an closed Application with an Form-Based login to the Side. 
> How can I make an explicid Logout.jsp Page??
> 
> Thanks for Help.
> 
> \Robert
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to