Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session Problem

Status
Not open for further replies.

684332

Programmer
Feb 13, 2005
2
NL
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top