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" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "kevin ritter" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > | To: <[EMAIL PROTECTED]> > | 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" <[EMAIL PROTECTED]> > | > To: <[EMAIL PROTECTED]> > | > 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:[EMAIL PROTECTED]> > | For additional commands: <mailto:[EMAIL PROTECTED]> > | Troubles with the list: <mailto:[EMAIL PROTECTED]> > | > | > | > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>