otixz Posted May 3, 2008 Share Posted May 3, 2008 Hi... I have a project ongoing... I have one question regarding security... Is there any code that I can use to logout a user every 3 mins of idle? (is 3 min enough or too soon?) Thank you very much. Link to comment https://forums.phpfreaks.com/topic/103970-how-to-logout-a-user-after-3-min-idle-time/ Share on other sites More sharing options...
Rohan Shenoy Posted May 3, 2008 Share Posted May 3, 2008 May be you can use javascript to delete the authentication cookies after idle 3 mins. Sorry but can't think of a way to dot it in PHP right now! Link to comment https://forums.phpfreaks.com/topic/103970-how-to-logout-a-user-after-3-min-idle-time/#findComment-532289 Share on other sites More sharing options...
ifusion Posted May 3, 2008 Share Posted May 3, 2008 It depends on what site you have but 3mins is very short imo. A minimum of 10 mins would be better. Link to comment https://forums.phpfreaks.com/topic/103970-how-to-logout-a-user-after-3-min-idle-time/#findComment-532294 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.