RE: [PHP] Can't figure out how to logoff...

From: Date: Tue, 09 Jan 2001 22:25:35 +0000
Subject: RE: [PHP] Can't figure out how to logoff...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33567@lists.php.net to get a copy of this message
Just some guesses :) 1) Change the "Clients" string of the realm. 2) Redirect to an url with l/p embedded. (http://wrong:pass@yourhost.com/script.php) > -----Original Message----- > From: Robert Covell [mailto:rcovell@rolet.com] > Sent: 9 January 2001 23:06 > To: php-general@lists.php.net > Subject: [PHP] Can't figure out how to logoff... > > > For some time now I have been trying to figure out how to let > users log off > a page that has required access so they can log on as a different > user. But > all my attemps fail. I can't unset the values. I tried to force a: > > Header("WWW-Authenticate: Basic realm=\"Clients\""); > Header("HTTP/1.0 401 Unauthorized"); > > so they could resubmit the info and it just does the standard 3 > strikes and > your out deal. > > I have tried to set and unset: > > $REMOTE_USER > $REMOTE_PASSWORD > $PHP_AUTH_USER > $PHP_AUTH_PW > > $GLOBALS['REMOTE_USER'] > $GLOBALS['REMOTE_PASSWORD'] > $GLOBALS['PHP_AUTH_USER'] > $GLOBALS['PHP_AUTH_PW'] > > but the browser just remembers it. > > Anybody have some tricks they have done. > > -Bob > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#33567) next »