I want to use this plugin here which displays a message stating if you want to continue with session or that session would be timed out. Pretty much it is a plug created by eric hynds where if the user does not use the computer for a period amount of time, then it will display a message if user wants to continue or not. If yes then continue, if not then user is timed out.
But anyway my question is that to be able to use this pluging, what files do I need? There is a src folder with 2 js scripts but I don't know id I need one of them or both of them, so I thought of asking people who have used this plugin.
Also if I want to use the plugin for multiple documents then do I just give them different id/class names?
Thanks
Just take a peak at the demo page's source code:
You need to add following two scripts in your workspace:
src/jquery.idletimer.js
src/jquery.idletimeout.js
Like here:
Download it and add in workspace then create a JSP add above code in JSP and include anywhere you want to display session timeout.
regards, Vaquar Khan