Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Team,

I want to download js/jquery.idle-timer.js" and "js/timeout-dialog.js"but i cant .why is it So .Will anyone can give the link to download js/jquery.idle-timer.js" and "js/timeout-dialog.js"
Please Guide me .
Thanks
Harshal.
Posted
Comments
R Harshal 5-May-14 10:44am    
how to get this both .js files .Please Guide Me .
Thanks
Harshal
R Harshal 5-May-14 11:04am    
I wrote the code as follows:
$(function () {
debugger;
var timeout = 60000;
$(document).bind("idle.idleTimer", function () {
// function fire when the user goes idle
$.timeoutDialog({ timeout: 1, countdown: 60, logout_redirect_url: 'Login.aspx', restart_on_yes: true });
});
$(document).bind("active.idleTimer", function () {
// function I want to fire when the user becomes active again
window.location.href = "Kaizen2GChartReport.aspx";
});
$.idleTimer(timeout);
});

But i dont have the above .js file .Because of that i cant do anything.Please i want to know how can i get that .js File

please lease Guide me.
Thanks
Harshal

 
Share this answer
 
Comments
R Harshal 6-May-14 3:32am    
Thank you so much.
Most welcome buddy. :)
If you are doing this in Asp.Net, then below Article is pretty useful and handy.

Prevent Session Timeout in ASP.NET
 
Share this answer
 
Comments
R Harshal 6-May-14 3:32am    
Thank you so much.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900