Forum Moderators: coopster
$_SESSION['abc'] = "value";
I kept getting a fatal error for this and I could not figure out why. However one thing to note is that i do have a class with the same name as the array key "abc". So when i changed the session to read like this, it worked:
$_SESSION['abcd'] = "value";
In conclusion the only thing i could figure out is that i am not aloud to have a session's array key the same as a class name that is currently being used.
Am I totally wrong on this or is there something else im missing?
Thanks,
Ryan