RE: [PHP] HTTP authentication

From: Date: Fri, 31 Aug 2001 14:03:59 +0000
Subject: RE: [PHP] HTTP authentication
Groups: php.general 
Request: Send a blank email to php-general+get-65471@lists.php.net to get a copy of this message
Won't sending a 401 header do the trick? <?php header("WWW-Authenticate: Basic realm='my realm'"); header("HTTP/1.0 401 Unauthorized"); ?> Not sure, but worth a try. Cheers Jon -----Original Message----- From: Boris [mailto:boris@episteme.no] Sent: 31 August 2001 13:08 To: php-general@lists.php.net Subject: [PHP] HTTP authentication Is there a way to force re-authentication without closing and re-opening the browser. Thanks Boris -- 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 ********************************************************************** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' **********************************************************************

« previous php.general (#65471) next »