$PHP_AUTH_USER & $PHP_AUTH_PW Question.
| From: | Ciprian Asmarandei | Date: | Mon, 19 Jun 2000 10:33:57 +0000 |
| Subject: | $PHP_AUTH_USER & $PHP_AUTH_PW Question. | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-16321@lists.php.net to get a copy of this message | ||
Hello folks,
Does anybody know how to get rid of $PHP_AUTH_USER and $PHP_AUTH_PW
variables without closing the browser?
I am making the authorization with headers which forces the browser to pop
up the authorization dialog. After the successful authorization the page
displays somewhere a link "log out" which points to a script "logout.php".
I tried to unset $PHP_AUTH_USER and $PHP_AUTH_PW in "logout.php" but it
doesn't work. When I want to relogin, the browser doesn't pop up the
authorization dialog, and enters the site with the old authorization values.
So I must first close the browser and after that to reenter the site.
How can I do it without closing the browser ?
Any help appreciated.
Thanks in advance.
Ciprian Asmarandei (ciprian.asmarandei@grafix.ro)