Page 1 of 1

Session Problem

Posted: Mon May 24, 2004 2:33 pm
by jrmontg
I am not sure what is happening. I have a login page, once the user logs in, sessions are set. On the next page I have welcome <?php echo $_SESSION['Username']; ?>

It seems like half of the time the session is ok then half the time it is blank.

What may be causing this?

Thanks
jm

Posted: Mon May 24, 2004 2:44 pm
by markl999
And you have session_start() on all pages that are trying to use session variables?

Posted: Mon May 24, 2004 3:03 pm
by jrmontg
Yes it is there on the first line.