Quote:
Originally Posted by tracknut
Two things... I don't see a call to session_start() in that second routine, and then I see a random statement:
Code:
$_SESSION['username'];
I'm guessing you mean:
Code:
$_SESSION['username'] = $username;
Dave
|
Oh, and session_start(). Never noticed that one haha.
session_start() is required at the top of all pages that are going to use sessions.