note 40981 added to reserved.variables
| From: | troep_menno at yahoo dot com | Date: | Thu, 25 Mar 2004 10:21:17 +0000 |
| Subject: | note 40981 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67143@lists.php.net to get a copy of this message | ||
I was assuming that using $_SESSION['id'] wouldn't be influanced by $id. It seems
that this was a wrong assumption.
My $id was used in a while loop, fetching sql data, so it is updated very frequently and left empty
after the while loop. Setting the session['id'] goes ok the firts run, but after
refreshing the window the session['id'] wil be empty just after the while loop.
It got me puzzled for a while, hope it helps someone :)
Menno
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40981
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40981&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40981&report=yes
Search -- http://master.php.net/manage/user-notes.php