Hi!
I got a problem. I created a login page. When the login form is processed, it starts a session and registers the username of the person who logged in.
But when I go to another page, and do a session_start(); and ask for the username by $_SESSION['uusername'];, it says that it is empty.
So I took a look at my session file in the tmp directory. It says:
uusername|N;upassword|N;
I don't think this is how it has to be. I think this means that uusername and upassword are empty.
Does anyone know how to get the values of the variables successful in my sessions?
Thanks in advance,
Jorn
I got a problem. I created a login page. When the login form is processed, it starts a session and registers the username of the person who logged in.
But when I go to another page, and do a session_start(); and ask for the username by $_SESSION['uusername'];, it says that it is empty.
So I took a look at my session file in the tmp directory. It says:
uusername|N;upassword|N;
I don't think this is how it has to be. I think this means that uusername and upassword are empty.
Does anyone know how to get the values of the variables successful in my sessions?
Thanks in advance,
Jorn