phpSensei Posted August 6, 2011 Share Posted August 6, 2011 Notice: Undefined index: username in public_html\dev_site\admin\login.php on line 69 Thats the problem right there, the $username variable isn't defined... non-existent as far as line 69 is concerned. Post your current full code please. Quote Link to comment Share on other sites More sharing options...
ebrown38 Posted August 6, 2011 Author Share Posted August 6, 2011 phpSensei The full code (for the page) is in post 13... Quote Link to comment Share on other sites More sharing options...
Vel Posted August 6, 2011 Share Posted August 6, 2011 I was thinking about this and I had an epiphany this morning. The reason $_SESSION['username'] is empty is because you destroy the session before calling logout. You need to call logout then destroy the session. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.