Idle timeout plugin using jQuery is very power full and easy for integrating with your application. Now these days its very usual for finding the Idle timeout and logout from your application or expire the page etc..
The application that handles profile or shopping cart its necessary to implement Idle timeout plugin. The user inactive for a limited time we have to identify the user was not in the system or not in the current tab. So there is no use of keeping their info on session or cookie etc.
First you have to create an index.html file and have the following scripts on the head portion of your html file.
The next is the script initialization section you can set the time is Min or MicroSeconds the following codes should be attached inside head of your html file.
And your index.html file body part should have something like follows.
<div style="width:100%;height:150px;background:#CCC;" > <h1><div id="divId">Walkswithme.net</div></h1> </div>
This can be used for checking the inactive time or Idle timeout using jQuery. Its easy to integrate with your current application and simple to initiate the calls.
Thanks for reading 🙂 🙂 🙂