note 18456 added to function.session-write-close
| From: | !spamcarljm at goshen dot edu | Date: | Wed, 23 Jan 2002 17:40:46 +0000 |
| Subject: | note 18456 added to function.session-write-close | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25751@lists.php.net to get a copy of this message | ||
Be careful using this function if you rely on the --enable-trans-sid feature to automagically add
your session id to link URLs. It appears that if you call session_write_close() anywhere in your
script, links on that page will NOT be rewritten. I assume this is because calling
session_write_close() closes your session before it ever gets to the link rewriting code, which is
executed after the script has finished.
--
http://www.php.net/manual/en/function.session-write-close.php
http://master.php.net/manage/user-notes.php?action=edit+18456
http://master.php.net/manage/user-notes.php?action=delete+18456
http://master.php.net/manage/user-notes.php?action=reject+18456