tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kevin ritter" <kevin.rit...@jcafeinc.com>
Subject Re: Logout with basic autorization
Date Thu, 15 Nov 2001 01:35:41 GMT
Thanks for responding; however, I'm already calling session.invalidate() as
show below:

<%@ page language="java" import="com.jcafeinc.learningCenter.users.*" %>
<%@ include file="global-header.jsp" %>
<html>
<body background="images/icon-background.jpg" bgcolor="000000" link="ffffff"
vlink="ffffff" alink="ffffff" text="ffffff"
style="border-width=0;margin-top=0;margin-left=0;margin-right=0">
<%request.getSession().invalidate();
   RequestDispatcher rd =
getServletContext().getRequestDispatcher("/index2.jsp");
   rd.forward(request, response);%>
</body>
</html>

Any more suggestions would be greatly appreicated.

Kevin
----- Original Message -----
From: "Tom Drake" <rtd@pobox.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>; "kevin ritter"
<kevin.ritter@jcafeinc.com>
Sent: Wednesday, November 14, 2001 7:26 PM
Subject: Re: Logout with basic autorization


> I think your servlet or jsp can simply call session.invalidate().
>
>
> ----- Original Message -----
> From: "kevin ritter" <kevin.ritter@jcafeinc.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, November 14, 2001 4:41 PM
> Subject: Re: Logout with basic autorization
>
>
> | Can anyone one verify if this is really the case, that is, to logout
with
> | BASIC authentication you have to close the browser window? This seems to
> be
> | a little goofy. Are there any work arounds?
> |
> | Thank you in advance. Peace
> | Kevin Ritter
> |
> | ----- Original Message -----
> | From: "Jonathan Eric Miller" <jemiller@uchicago.edu>
> | To: <tomcat-user@jakarta.apache.org>
> | Sent: Wednesday, September 19, 2001 8:58 PM
> | Subject: Re: Logout with basic autorization
> |
> |
> | > The only way to logout with basic authentication is to close the Web
> | > browser. Otherwise, you may want to do form-based authentication.
> | >
> | > Jon
> | >
> | > ----- Original Message -----
> | > From: "Oleksandr Fedorenko" <maint@intercollab.kiev.ua>
> | > To: <tomcat-user@jakarta.apache.org>
> | > Sent: Wednesday, September 19, 2001 8:43 AM
> | > Subject: Re: Logout with basic autorization
> | >
> | >
> | > >
> | > >
> | > > "P.Miller" wrote:
> | > >
> | > > > Hi Oleksandr,
> | > > >
> | > > > you can 'logout' with session.invalidate().
> | > > > You have to login again afterwards.
> | > > >
> | > >
> | > > I do it exactly.
> | > >
> | > > But Browser already contains information for authentication, and
when
> I
> | > want
> | > > to access
> | > > protected page ( I want to get auth prompt ) , it pass it by.
> | > >
> | > > >
> | > > > Hth
> | > > > Peter
> | > > >
> | > > > Oleksandr Fedorenko wrote:
> | > > > >
> | > > > > Hi.
> | > > > >
> | > > > > How to do really logout using basic authorization ?
> | > > > >
> | > > > > I mean to get authorization prompt again by using tomcat engine
?
> ,
> | > i.e.
> | > > > >
> | > > > > tomcat should care about it . To send smth. in response ?
> | > > > > If yes, so what to send ?
> | > > > >
> | > > > > Thanks.
> | > > > >
> | > > > > Alex.
> | > >
> |
> |
> | --
> | To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> | For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> | Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> |
> |
> |
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message