|
Posted by Tom on 12/29/05 03:36
In response to my own question, I finally discovered this:
fondman at hotmail dot com
06-Dec-2005 02:47
I just solve a problem about $_SESSION variable.
For example, you set $_SESSION['username'] = "Michael" already, later,
you have a variable $username = "Chi" in a php script
After PHP 4.4.0, $_SESSION['username'] is still "Michael".
However, In PHP 4.3.*, $_SESSION['username'] is also changed to "Chi".
Be Careful, if the php version is lower than 4.4.0!
http://us2.php.net/manual/en/ref.session.php#59433
My problem was a variation on this theme. It does pose a bit of
problem for the framework I put together. Glad to hear it's been fix
in PHP 4.4+.
Navigation:
[Reply to this message]
|