RE: [PHP-GENERAL] Re: [PHP3] *Serious* problems with HTTP_AUTH (a nd PHP?)
| From: | Boget, Chris | Date: | Mon, 12 Jun 2000 19:17:30 +0000 |
| Subject: | RE: [PHP-GENERAL] Re: [PHP3] *Serious* problems with HTTP_AUTH (a nd PHP?) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1649@lists.php.net to get a copy of this message | ||
> I'm not an expert, but here's a possible solution
> $MyRealm = uniqid("MyRealm");
> Header("WWW-Authenticate: Basic realm=\"$MyRealm\"");
> Once logged in the $PHP_AUTH_USER should be set until the
> browser closes.
> But on the next visit the realm should be different.
I appreciate your suggestion, but this solution is not an option
for the reasons I cite in my previous email.
Chris