ketankshah
IS-IT--Management
I have a login page where clients login in to my site. After successful login the main page appears where user can make certain selections and can download few files. What I want is some idle timeout option such that if the main page is Idle for 5 mins. then it should automatically redirects it to the login page. setTimeout() function will redirect irrespective of idle time. How can I check the idle time of non usage of a particular page and then redirect it to another page ?