sungpeng Posted April 2, 2009 Share Posted April 2, 2009 Hi check I got a online management system. Do I store user as session or cookie. I notice session once close window need to key in user name and password again. Link to comment https://forums.phpfreaks.com/topic/152179-solved-cookie-or-session/ Share on other sites More sharing options...
justAnoob Posted April 2, 2009 Share Posted April 2, 2009 What???,, not sure what your saying.... when user logs in,, just do something like <?php $_SESSION['auth'] = "yes"; ?> Usually once you close the browser, it will kill the session. That is what I have noticed. But I'm new to all this stuff also. Link to comment https://forums.phpfreaks.com/topic/152179-solved-cookie-or-session/#findComment-799193 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.