note 46462 added to ref.session
| From: | mandiATshqiperia dot com at osu1 dot php dot net | Date: | Tue, 12 Oct 2004 14:06:51 +0000 |
| Subject: | note 46462 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78422@lists.php.net to get a copy of this message | ||
Attention!
When working with sessions!
If you have $_SESSION["NAME"]="Ujku";
and you use a variabel with the same $NAME in your code (ex $NAME="Ariu";)
than the value of $_SESSION["NAME"] will be Ariu
Don't use variable names same as Session Names.
This may lead in security problems if in the code you use $_GET["NAME"] value!
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46462
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46462&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46462&report=yes
Search -- http://master.php.net/manage/user-notes.php