I have detected the same thing as another user has already found out - Storing objects in PHP session:
If I store a serialized object (i.e. a string) in $_SESSION['user']
this object disappears with the next page call. It cannot be an problem of mine since all works fine if I use something different as user
as key. Is there some magic? Is this reserved?
$_SESSION['user']
becomes false
. The key still exists, but the value is false
. I'm not quite sure but I think the value gets false
after the second call.
Any ideas or hints?