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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/152179-solved-cookie-or-session/#findComment-799193 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.