note 27408 deleted from function.header by nlopess

From: Date: Sat, 13 Mar 2004 21:39:58 +0000
Subject: note 27408 deleted from function.header by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-66795@lists.php.net to get a copy of this message
Note Submitter: chad dot miller at spam persidea dot com ---- 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!

« previous php.notes (#66795) next »