> I have tried to reset the $PHP_AUTH_USER and/or $REMOTE_USER from within my
> php scrips to force a user re-login to apache's ht authentication, but I cant
> seem to set it from inside a php script
> I've tried putenv($REMOTE_USER = '');
> and
> $PHP_AUTH_USER = "";
> and several other variations of the two but still I'm getting nowhere..
> can anyone help please

This can't be done as the remote browser sends this information on each
request and those variables get recreated.  You need to either change the
realm or send another 403 to force the remote client to stop sending
these.

Check the mailing list archives for all sorts of discussions on this.

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to