working with PHP_AUTH_USER
Posted: Mon Apr 04, 2005 4:14 am
i have 2 pages :
in 1 i ask for user name and pass:
in the second pag i do :
ater i login and go to the page withthe unset and then go to the page withthe login again it still remember the $_SERVER['PHP_AUTH_USER']) even though i did an unset to $_SERVER['PHP_AUTH_USER']))
why is that?
thnaks in advance
peleg
in 1 i ask for user name and pass:
Code: Select all
if (!isset($_SERVERї'PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="e;âéùú îðäì áìáã ìîòøëú äâéååï"e;');Code: Select all
unset($_SERVERї'PHP_AUTH_USER']);why is that?
thnaks in advance
peleg