note 81879 deleted from function.header by tularis
| From: | tularis@php.net | Date: | Mon, 12 May 2008 10:20:23 +0000 |
| Subject: | note 81879 deleted from function.header by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-139300@lists.php.net to get a copy of this message | ||
Note Submitter: dhovart at gmail dot com
----
@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