Re: HTTP Authentication not getting unset

From: Date: Wed, 14 Feb 2001 19:13:05 +0000
Subject: Re: HTTP Authentication not getting unset
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39719@lists.php.net to get a copy of this message
El Mié 14 Feb 2001 12:37, Toby Miller escribió: > Hey all, Hi, This is far to long, so I'll strip a part of it. > Now if I try to read the $PHP_AUTH_USER or $PHP_AUTH_PW variables anyplace > on the site they don't exist, until I go back to one of the protected > pages. Then they miraculously re-appear and are readily available once > again without requiring the user to log back in. Yes, thats because the browser saves those variables (very bad idea, but what can I say... I didn't write the code of netscape or IE). At this moment I just finished coding a session login, logout hack. So I will suggest you to read about sessions, read some articles in phpbuilder, phpwizard and the documentation. Saludos... :-) -- System Administration: It's a dirty job, but someone told I had to do it. ----------------------------------------------------------------- Martín Marqués email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------

« previous php.general (#39719) next »