note 9090 deleted from features.http-auth by betz
| From: | betz@php.net | Date: | Thu, 01 Apr 2004 12:01:55 +0000 |
| Subject: | note 9090 deleted from features.http-auth by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67465@lists.php.net to get a copy of this message | ||
Note Submitter: marcel@humanique.com
----
The new Mozilla browser doesn't seem to like the switched authentication lines.
This doesn't work (I have build 2000101308):
Header( "WWW-authenticate: Basic realm=\"test\"");
Header( "HTTP/1.0 401 Unauthorized");
The first time you authenticate all seems ok, but the second time it always returns unauthorized.
This works as it should:
Header( "HTTP/1.0 401 Unauthorized");
Header( "WWW-authenticate: Basic realm=\"test\"");