note 45131 added to function.session-start
| From: | OzCat at osu1 dot php dot net | Date: | Fri, 27 Aug 2004 01:35:27 +0000 |
| Subject: | note 45131 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-75393@lists.php.net to get a copy of this message | ||
Hi
Hosts upgraded to Win 2003/IIS6 and suddenly session registration didn't work with the redirect
as mentioned in posts below.
Found the following 100% fixed it so hope it helps others:
session_write_close();
header("Location: $strPage");
exit();
Put in the exit(); - didn't work for me otherwise.
Ozcat
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45131
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45131&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45131&report=yes
Search -- http://master.php.net/manage/user-notes.php