note 81879 added to function.header

From: Date: Mon, 17 Mar 2008 18:00:58 +0000
Subject: note 81879 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-137142@lists.php.net to get a copy of this message
@onge (Nov-2007) : Thanks SO MUCH ! I experienced exactly the some problem, it was beginning to drive me really crazy until I saw your message... I think I got a clue about the issue : you may have used "session_write_close()" in the __destruct() function of your session handler class... I think that with header('Location:'), __destruct() is not correctly executed, that's why you need to write "exit" just right after. The weird thing is that I thought that header('Location:') interrupted the execution of your script, but it actually seems not. Thanks again ! Denis Hovart ---- Server IP: 195.221.21.36 Probable Submitter: 82.124.121.50 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/81879 Del: integrated -- https://master.php.net/note/delete/81879/integrated Del: useless -- https://master.php.net/note/delete/81879/useless Del: bad code -- https://master.php.net/note/delete/81879/bad+code Del: spam -- https://master.php.net/note/delete/81879/spam Del: non-english -- https://master.php.net/note/delete/81879/non-english Del: in docs -- https://master.php.net/note/delete/81879/in+docs Del: other reasons-- https://master.php.net/note/delete/81879 Reject -- https://master.php.net/note/reject/81879 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137142) next »