note 27407 added to function.session-write-close
| From: | chad at rack1 dot php dot net | Date: | Wed, 04 Dec 2002 21:34:17 +0000 |
| Subject: | note 27407 added to function.session-write-close | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40352@lists.php.net to get a copy of this message | ||
You DO need to call this function 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.session-write-close.php
http://master.php.net/manage/user-notes.php?action=edit+27407
http://master.php.net/manage/user-notes.php?action=delete+27407
http://master.php.net/manage/user-notes.php?action=reject+27407