note 27407 deleted from function.session-write-close by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 04:29:42 +0000 |
| Subject: | note 27407 deleted from function.session-write-close by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48415@lists.php.net to get a copy of this message | ||
Note Submitter: chad dot miller at spam persidea dot com
----
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!