CakePHP redirect a user after idle for a preset length of time
When a user is on my site for x minutes I want them to get redirected to a different page on the site. A user logs into the site and winds up on the homepage, if they sit there to long I want to redirect them to a temporary page to reduce the load on the server. Is there an easy way to implement this in CakePHP? Currently I am using a lot of AJAX on the homepage to interact with the site and would like to implement it within those calls already being made. Any ideas on this would be helpful as I am stuck. I can make it work, but it is only working after the session expires and the person goes to another page. I want it to work automatically based on them being idle on one page and separate from the session time.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.