Hi,
i am using session time out when browser is idle for long time.
below is code is working but its working even browser is busy or user using application.I want it when user not using application for long time it should show alert and redirect to login.How can i do it
var sessionTimeout = "<%= Session.Timeout %>";
//To redirect to the welcome page
setTimeout('RedirectToWelcomePage()', parseInt(sessionTimeout) * 60 * 1000);
//Session timeout
function RedirectToWelcomePage() {
alert("Your Session has expired. Please login again");
window.location = "AdminLogin.aspx";
}