kathymack Posted September 29, 2012 Share Posted September 29, 2012 Hi I am trying to write some code that validates the user name and password from database table then set a session. http://ectpro.co/steph/login-screen.php uname: kath pwd: test I am doing something wrong, because the session var aren't saving. I am really stuck and am hoping someone can help me out with this. Thanks. Kath Link to comment https://forums.phpfreaks.com/topic/268906-sessions-arent-saving/ Share on other sites More sharing options...
KevinM1 Posted September 29, 2012 Share Posted September 29, 2012 Post your code. Link to comment https://forums.phpfreaks.com/topic/268906-sessions-arent-saving/#findComment-1381740 Share on other sites More sharing options...
berridgeab Posted September 29, 2012 Share Posted September 29, 2012 Make sure you have called session_start() first. Make sure the folder pemissions where session text files are saved are setup correctly so that PHP can write, edit, and delete files. Link to comment https://forums.phpfreaks.com/topic/268906-sessions-arent-saving/#findComment-1381748 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.