note 27408 added to function.header
| From: | chad at rack1 dot php dot net | Date: | Wed, 04 Dec 2002 21:37:39 +0000 |
| Subject: | note 27408 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40353@lists.php.net to get a copy of this message | ||
You might need to call session_write_close() prior to a header() call to redirect IF you're
using CGI rather than a module. We ran into this problem when we migrated an application from our
server (Running the PHP Apache module) to another server (Running the CGI version).
For safety's sake, I recommend always calling session_write_close() before doing a redirect
with header(). It'll make migrations much more painless!
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+27408
http://master.php.net/manage/user-notes.php?action=delete+27408
http://master.php.net/manage/user-notes.php?action=reject+27408