What you are trying to do is covered in the manual here:
http://www.php.net/manual/en/features.http-auth.php

I think you specifically was the section:
Both Netscape Navigator and Internet Explorer will clear the local browser
window's authentication cache for the realm upon receiving a server response
of 401. This can effectively "log out" a user, forcing them to re-enter
their username and password. Some people use this to "time out" logins, or
provide a "log-out" button.

All the details of this are in the manual.

Sheridan Saint-Michel
Website Administrator
FoxJet, an ITW Company
www.foxjet.com


----- Original Message -----
From: "Alex Sofronie" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 4:12 PM
Subject: [PHP] Re: PHP based auth -----------------


> No, I'm just using PHP_AUTH_USER and PHP_AUTH PW and i am trying to
> logout... The session_destroy() is not working.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to