Jarod Posted December 30, 2009 Share Posted December 30, 2009 Okay I'm not sure but I don't think I understand how to keep my users logged in anymore, anyways... I log in with my administrator account from the www directory and when I tried to access the admin area, which is in another directory called admin, I'm not logged in still, any reason why this is happening? My file structure is like this Website WWW ---Admin ------JS ------Images ------Index.php ---Images ---Includes ---Index.php Im logged in on the WWW directory, but not in the Admin directory, I'm using sessions by the way. Quote Link to comment https://forums.phpfreaks.com/topic/186670-session-is-not-set-but-is-set/ Share on other sites More sharing options...
oni-kun Posted December 30, 2009 Share Posted December 30, 2009 Are you using session_start() at the beginning of the admin page? Quote Link to comment https://forums.phpfreaks.com/topic/186670-session-is-not-set-but-is-set/#findComment-985851 Share on other sites More sharing options...
Jarod Posted December 30, 2009 Author Share Posted December 30, 2009 Are you using session_start() at the beginning of the admin page? Oooo! Sure wasn't! Sorry for that, I'm still getting the hang of the session_start() thing . Quote Link to comment https://forums.phpfreaks.com/topic/186670-session-is-not-set-but-is-set/#findComment-985853 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.