boionfire81 Posted March 23, 2016 Share Posted March 23, 2016 Where do I set the time length of login before auto kick? i.e. stay logged in for 24 hours? Quote Link to comment Share on other sites More sharing options...
sniko Posted March 23, 2016 Share Posted March 23, 2016 Set the timeout on the session cookie - http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-lifetime ini_set("session.cookie_lifetime","86400"); Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted March 23, 2016 Author Share Posted March 23, 2016 what file does that go in? Quote Link to comment Share on other sites More sharing options...
Zettieee Posted March 23, 2016 Share Posted March 23, 2016 Above session_start(); in globals should work. 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.