[QUOTE=rr;41356]What is no activity? Is that the user doesnt send some ajax info the the webserver? Well just set the php session timeout downwards.
You could always check the $_SESSION variable tho.[/QUOTE]
I was just about to ask a question on this matter, so here may well be appropriate.
The YouTube video shows you how to set up and check for a “timeout”, but it has one major flaw, and I was wondering what other people do to make it work.
At present (based on the video tutorial) clicking on the menu invokes the check on time elapsed and it works fine, but this method does leave the current application open AND editable which I consider a vulnerability. Is there a way to set up a timer of some form so that when you open an application, and the timer checks the idle time and then gives an alert before redirecting. So it is similar to the SC example, but would not rely on a menu item being clicked before issuing the alert.
Thanks heaps - and remember I also am a little new to javascript etc, so be kind in your replies
Tony