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. 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. 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. 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. 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? Link to comment https://forums.phpfreaks.com/topic/215862-logout/#findComment-1122172 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.