Re: [PHP4BETA] Login script help
| From: | Martin Samesch | Date: | Fri, 03 Dec 1999 22:47:12 +0000 |
| Subject: | Re: [PHP4BETA] Login script help | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7372@lists.php.net to get a copy of this message | ||
Hi Matt,
> I have a login script and I am using the php-based http authorization
> method, i created a logout button which is linked to a header for a 401
> error which should log out the user, but when i access the script again it
> still knows who i am and lets me in! It is not setting any cookies, and i
> have cleared all browser cache and history. It is like it is keeping my
> $PHP_AUTH_USER and $PHP_AUTH_PASS somewhere on my server, what can i do to
> make it totally log out of the script and make the script not recognize me
> ANYMORE?
Not on your server, but in your browser. It keeps them till you close it. That's
why I prefer MySQL-based authenication.
Best regards,
Martin