Jump to content

[SOLVED] how to retrieve user login


Imad

Recommended Posts

Thanks for your replies guys. I tried doing something like this:

 

 

if (isset($_SESSION['valid_user'])) {
echo "$username";
}

 

The session that is set with the cookie looks like this:

$_SESSION['valid_user'] = $username;

 

It didn't work, I just get a blank output.

Any Ideas,

Thanks.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.