$PHP_AUTH_USER & $PHP_AUTH_PW Question.
[email protected] ("Ciprian Asmarandei") Mon, 19 Jun 2000 13:33:57 +0300
| Newsgroups | php.version4 |
|---|---|
| Organization | Grafix Profesional S.R.L. |
| Message-ID | <[email protected]> |
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 ([email protected])