note 38467 added to function.header
| From: | shrockc^inhs^org at rn2 dot php dot net | Date: | Tue, 23 Dec 2003 00:07:31 +0000 |
| Subject: | note 38467 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62363@lists.php.net to get a copy of this message | ||
Using IIS3/4/5?, using sessions? using automated logins?
Guess what? When running php as a CGI in IIS, IIS will
remove set-cookie headers if there is also a 302 status
(Location: redirect) header.
Why do you care?
Ever need to log in a user in the first page that a user sees
of your site? Well, you can't if you use IIS3/4/5 and any CGI
like Perl and PHP.
Here is the kb article:
http://support.microsoft.com/support
/kb/articles/q176/1/13.asp&NoWebContent=1
Guess what the workaround is:
rename 'php.exe' to 'nph-php.exe'
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38467
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38467&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38467&report=yes
Search -- http://master.php.net/manage/user-notes.php