vividona Posted October 14, 2010 Share Posted October 14, 2010 Hi, How logout is executed after 15 min. if does not hit or refresh any page. Quote Link to comment https://forums.phpfreaks.com/topic/215862-logout/ Share on other sites More sharing options...
premiso Posted October 14, 2010 Share Posted October 14, 2010 Set the session cookie to expire after 15 minutes, given that you are using sessions to keep track if someone is logged in or not. Quote Link to comment https://forums.phpfreaks.com/topic/215862-logout/#findComment-1122135 Share on other sites More sharing options...
vividona Posted October 14, 2010 Author Share Posted October 14, 2010 Set the session cookie to expire after 15 minutes, given that you are using sessions to keep track if someone is logged in or not. But if I Set the session cookie to be expire after 15 minutes, any account will be logout. I need only accounts that do not make page refreshment should logout. Quote Link to comment https://forums.phpfreaks.com/topic/215862-logout/#findComment-1122165 Share on other sites More sharing options...
Pawn Posted October 14, 2010 Share Posted October 14, 2010 Reset the cookie on every page load. Quote Link to comment https://forums.phpfreaks.com/topic/215862-logout/#findComment-1122167 Share on other sites More sharing options...
vividona Posted October 14, 2010 Author Share Posted October 14, 2010 Reset the cookie on every page load. can you explain a bit? Quote Link to comment https://forums.phpfreaks.com/topic/215862-logout/#findComment-1122172 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.