Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

CakePHP redirect a user after idle for a preset length of time

Avatar of termlimit
termlimitFlag for United States of America asked on
PHP
16 Comments1 Solution1802 ViewsLast Modified:
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.
ASKER CERTIFIED SOLUTION
Avatar of v2Media
v2MediaFlag of Australia image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 16 Comments.
See Answers