note 56151 added to function.session-regenerate-id
| From: | dyer85 at gmail dot com | Date: | Thu, 25 Aug 2005 05:59:43 +0000 |
| Subject: | note 56151 added to function.session-regenerate-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94162@lists.php.net to get a copy of this message | ||
There could be a potential problem with elger at NOSPAM dot yellowbee dot nl's a few posts
below. In the code, was used the REQUEST_URI server variable, which, in some cases might already
contain the query string. Therefore, always apending '?whatever=foo' would occasionally
cause the script to malfunction. I suggest using PHP_SELF, which will not contain the query string
after the file.
----
Manual Page -- http://www.php.net/manual/en/function.session-regenerate-id.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56151
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56151&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56151&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56151&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56151&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56151&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56151&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56151&report=yes
Search -- http://master.php.net/manage/user-notes.php