PC Nerd Posted April 14, 2007 Share Posted April 14, 2007 hi guys i have a login system, that logs the time of someones login, and gives it an id every page that is loaded, is loded with when, who etc. and a unique id. what i want to do is similar to what happens here. if a user is inactive ( not requests for 10 minutes) the log him out or something. i understand this would be a cron, but maybe it could be int eh page request, and simply checks and redirects if necicary. bow would i do this? thankyou Link to comment https://forums.phpfreaks.com/topic/46973-solved-finding-most-recent-record/ Share on other sites More sharing options...
PC Nerd Posted April 14, 2007 Author Share Posted April 14, 2007 *** bump *** Link to comment https://forums.phpfreaks.com/topic/46973-solved-finding-most-recent-record/#findComment-229138 Share on other sites More sharing options...
PC Nerd Posted April 15, 2007 Author Share Posted April 15, 2007 bump Link to comment https://forums.phpfreaks.com/topic/46973-solved-finding-most-recent-record/#findComment-229567 Share on other sites More sharing options...
Barand Posted April 15, 2007 Share Posted April 15, 2007 Run a query finding those who are logged on and whose latest activity record is older than 10 minutes. Link to comment https://forums.phpfreaks.com/topic/46973-solved-finding-most-recent-record/#findComment-229594 Share on other sites More sharing options...
PC Nerd Posted April 15, 2007 Author Share Posted April 15, 2007 thanks Link to comment https://forums.phpfreaks.com/topic/46973-solved-finding-most-recent-record/#findComment-229599 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.