Use localstorage for update the last user activity with unix-timestamp
autoLogOut.js implements the event listener on following events:-
For implementation:
var signOut = autoLogOut.init({ timeout: 1, sessionKey: 'Key', debug: true});
signOut.onSignOut = function () {
alert("Called Timeout");
console.log("Timeout Called");
};
autoLogOut.init() function take intial configuration object, each key description mentioned below:-
autoLogOut.js have three methods:-