thehoster Posted January 24, 2013 Share Posted January 24, 2013 Hello All, Is there a way i can auto logout a client out of his/her account after so many minutes of inactivity the current code im using in configuration.php is ini_set('session.cookie_lifetime', 60); But its not working, could anyone advise the number "60" relates to seconds and not minutes, should anyone wish to know i put it to 60 seconds so i would be able to test it. But after waiting a minute and re-visited a cookie stored page it still was logged in so i assumed it was not working. Any assistance with this would be greatly appreciated. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS JamesX Posted January 24, 2013 Share Posted January 24, 2013 (edited) Are you using Firefox? If so, have a look at Bug 345345 - Session Restore remembers logins from session cookies. Edited January 24, 2013 by WHMCS JamesX 0 Quote Link to comment Share on other sites More sharing options...
thehoster Posted January 24, 2013 Author Share Posted January 24, 2013 Thanks for your reply, I have it working now. Did a bit of coding wrong lol. Thanks again. 0 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.