jamesxg1 Posted February 23, 2010 Share Posted February 23, 2010 Hiya! I am trying to build a session controller, one where if a user is logged in and they are idle it will display a timer and when the time reaches 0 it will log them out. How would I check if they are idle ? Many thanks James. Link to comment https://forums.phpfreaks.com/topic/193094-how-do-i-check-if-a-user-id-idle/ Share on other sites More sharing options...
mikesta707 Posted February 23, 2010 Share Posted February 23, 2010 you could have the timer on every page, and every time they go to a new page, restart the timer. Link to comment https://forums.phpfreaks.com/topic/193094-how-do-i-check-if-a-user-id-idle/#findComment-1016881 Share on other sites More sharing options...
jamesxg1 Posted February 23, 2010 Author Share Posted February 23, 2010 Nice great idea mate! Cheers! Link to comment https://forums.phpfreaks.com/topic/193094-how-do-i-check-if-a-user-id-idle/#findComment-1016883 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.