note 35673 deleted from features.http-auth by vincent

From: Date: Wed, 10 Sep 2003 15:38:31 +0000
Subject: note 35673 deleted from features.http-auth by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55948@lists.php.net to get a copy of this message
Note Submitter: colet@putnamhill.net ---- Watch out for stray tab characters in WWW-Authenticate header statements. This appears to break basic authentication on IE for Windows. For example: function authenticate() { header( "WWW-Authenticate:\t Basic realm=\"This won't work\""); header('HTTP/1.0 401 Unauthorized'); echo "You must enter a valid login ID and password to access this resource\n"; exit; } The above will cause IE on windows to not display the authentication dialog.

« previous php.notes (#55948) next »