note 40981 deleted from reserved.variables by nlopess
| From: | nlopess@php.net | Date: | Thu, 25 Mar 2004 14:46:16 +0000 |
| Subject: | note 40981 deleted from reserved.variables by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67165@lists.php.net to get a copy of this message | ||
Note Submitter: troep_menno@yahoo.com
----
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