Re: PHP based authentification -----------
| From: | Charles Williams | Date: | Mon, 20 Aug 2001 15:14:51 +0000 |
| Subject: | Re: PHP based authentification ----------- | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63520@lists.php.net to get a copy of this message | ||
Alex,
If your using sessions then just use session_destroy(); in your logout.
chuck
----- Original Message -----
From: "Alex Sofronie" <maxx@mail.dntis.ro>
To: "PHP General" <php-general@lists.php.net>
Sent: Sunday, August 19, 2001 4:25 PM
Subject: [PHP] PHP based authentification -----------
> Hi all!
>
> How can I "logout" from a PHP based auth (with PHP_AUTH_USER and
PHP_AUTH_PW
> and appropriate headers sent at the beginning)?
> It seems like unset($PHP_AUTH_USER) does not wotk in this case...
>
> Any help would be appreciated!
>
> Alex Sofronie
> maxx@mail.dntis.ro
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>