Help! I can't modify session variables once they're set
| From: | Tony Zito | Date: | Sat, 04 Mar 2000 01:35:21 +0000 |
| Subject: | Help! I can't modify session variables once they're set | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11496@lists.php.net to get a copy of this message | ||
Hi all,
Hope you can help me with this problem that's currently destroying my Friday night. Once I session_register a variable and set it, I'm unable to modify it, even if I unregister and register again. This can't be right, although the annotated manual lists a few people complaining about this very problem.
Here's a code snippet:
session_register($playerLeagueId);
$playerLeagueId = $leagueId;
The first time thru it works fine, but once the value is set, it can't be reset (unless I restart my browser.)
What gives? Can anyone help me out? It would be _greatly_ appreciated.
thanks,
t.
...........................................................
.. Tony Zito
.. Director of Production / Bottle Rocket, Inc.
.. 212 352 2040 x230
.. http://www.bottlerocket.com/