1 2var sessionTimeout = 300; //1800= 30 minutes in seconds 3var logoutUrl = 'logout.php'; // URL to logout PHP file 4 5var logoutTimer; 6 7function resetTimer() { 8 clearTimeout(logoutTimer); 9 logoutTimer = setTimeout(logout, sessionTimeout * 1000); 10} 11 12function logout() { 13 window.location.href = logoutUrl; 14} 15 16// Track user activity 17//document.addEventListener('mousemove', resetTimer); 18//document.addEventListener('keypress', resetTimer); 19
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.