I am building a PHP CMS at the moment, and for some reason it seems that my session variables are being stored. I am using a default setup of Apache / PHP / MySQL with Linux Fedora Core 2. I am unsure as to which versions theses all are, but they are the standard ones.
I am making a module to display the logged-in users information. For example.
"Welcome, Logged in as $user."
"Account Type: $thegroup"
When i make the user "login" it seems to parse through the login checks ok, and use the variables $user, $pass, $SESSION_['user'] and $SESSION_['pass'].
For some reason if i type
echo $SESSION_['user'];
It doesnt display anything.
Any ideas?