Thank you Chris that works. Now I need to sort out page navigation...
Neil
-----Original Message-----
From: chris brown [mailto:[EMAIL PROTECTED]]
Sent: 19 July 2001 10:35
To: [EMAIL PROTECTED]
Subject: Re: How can I logoff
Try session.invalidate() then send the HTTP status code "401 Unauthorized"
session.invalidate();
response.sendError(response.SC_UNAUTHORIZED, "Logged out");
Might get you going in the right direction.
-Chris
----- Original Message -----
From: "Blue, Neil" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 11:15 AM
Subject: RE: How can I logoff
> Thank you Kaneda,
>
> It doesn't seem to work.
>
> Cheers
> Neil
>
> -----Original Message-----
> From: Kaneda K [mailto:[EMAIL PROTECTED]]
> Sent: 19 July 2001 09:42
> To: [EMAIL PROTECTED]
> Subject: Re: How can I logoff
>
>
> At 15:57 18/07/2001 +0100, you wrote:
> >Hello,
> >
> >I am using the JDBC sercurity on tomcat 3.3. I am able to logon (via
basic
> >authentication) to view a secured .jsp page. however I can not see how a
> >user can logoff again so that a new user can logon. Please could someone
> >point me in the right direction.
> >
> >Cheers
> >Neil
>
>
> The fonction to log of is "<%session.invalidate();%>" but I am not sure
> that It works with "basic" authentification.
> In fact, I think is does not works. but check any way