I have a login that uses header information to authenticate users.
header('WWW-Authenticate: Basic realm="my site", FALSE');
These values go into the php_auth_user and PHP_AUTH_PW in $_SERVER work
just fine. But when I try to unset($_SERVER['PHP_AUTH_USER']) or PW
and go to a different page they are just reset to the way they were
before.
If you need more information let me know. Do I have to do more than
just unset to reset them to null or to blank?
Thanks,
Brandon
header('WWW-Authenticate: Basic realm="my site", FALSE');
These values go into the php_auth_user and PHP_AUTH_PW in $_SERVER work
just fine. But when I try to unset($_SERVER['PHP_AUTH_USER']) or PW
and go to a different page they are just reset to the way they were
before.
If you need more information let me know. Do I have to do more than
just unset to reset them to null or to blank?
Thanks,
Brandon
Comment