RE: [PHP] destroing $PHP_AUTH_USER and $PHP_AUTH_PASS

From: Date: Fri, 30 Jun 2000 23:25:38 +0000
Subject: RE: [PHP] destroing $PHP_AUTH_USER and $PHP_AUTH_PASS
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4203@lists.php.net to get a copy of this message
It's not caching the page, it's caching the credentials. AFAIK you don't have to ask user to exit the browser, just send another 403 or two. At 07:14 1.7.2000 -0400, John Coggeshall wrote the following: -------------------------------------------------------------- >I've never been able to get this to work either. > >I believe it has to do with the browser 'caching' it in memory so you're not >prompted for each subdir or whatever. The only suggestion I have is to tell >the user to close the browser (actually, ALL occurences of it) and re-open >it again to clear it out. Sucks I know, but that's the only thing that's >worked so far. and I tried to set them to null, to "", to unset(), etc... > > >----------------- > >Ever considered using a few headers to tell the browser not to cache the >page? Another idea that I have off the top of my head is possibly simluating >different "resources" for each subdir that needs to be validated? I bet if >you telneted to port 80 and looked at the headers the server sends, you >would be able to mimic them and make it so it's different every time (as far >as what the browser thinks it's trying to validate) so it'll always ask to >be revalidated. > >Just a few thoughts. > >John > > >-- >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 > > >-- >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 ------end of quote------ ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. cynic@mail.cz ICQ: 2808 2505

« previous php.general (#4203) next »