What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-30 01:25:48
session timeout minutes for in 1*60 *1000
var IDLE_TIMEOUT = 2700; //seconds 45min var _idleSecondsCounter = 0; document.onclick = function() { _idleSecondsCounter = 0; }; document.onmousemove = function() { _idleSecondsCounter = 0; }; document.onkeypress = function() { _idleSecondsCounte... Add solution