note 99225 added to function.session-start
| From: | julian at osu1 dot php dot net | Date: | Thu, 05 Aug 2010 01:09:40 +0000 |
| Subject: | note 99225 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171371@lists.php.net to get a copy of this message | ||
For reasons I don't understand, a script cannot use the same name in a session variable as in a
regular variable.
So, for example, if your script uses $_SESSION["var"] then you should NOT also have a
variable named $var in that same script
----
Server IP: 69.147.83.197
Probable Submitter: 76.203.48.72
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- https://master.php.net/note/edit/99225
Del: integrated -- https://master.php.net/note/delete/99225/integrated
Del: useless -- https://master.php.net/note/delete/99225/useless
Del: bad code -- https://master.php.net/note/delete/99225/bad+code
Del: spam -- https://master.php.net/note/delete/99225/spam
Del: non-english -- https://master.php.net/note/delete/99225/non-english
Del: in docs -- https://master.php.net/note/delete/99225/in+docs
Del: other reasons-- https://master.php.net/note/delete/99225
Reject -- https://master.php.net/note/reject/99225
Search -- https://master.php.net/manage/user-notes.php