boionfire81 Posted March 23, 2016 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
sniko Posted March 23, 2016 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
Zettieee Posted March 23, 2016 Posted March 23, 2016 Above session_start(); in globals should work. Quote
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.