|
Adam correct me if i'm wrong, but that method redirects after 3 seconds whether or not the user is inactive. I only want to redirect after a set amount of time inactivity from the user.
so this is how i did it. I know its Javascript and this is ASP but no biggy right.
<head>
<script type="text/javascript">
<!--
function timer() {
time1=window.setTimeout("redirect()",150000);
}
function redirect() {
window.location = "inactive.asp"
}
function detime() {
window.clearTimeout(time1);
timer();
}
// -->
</script>
</head>
<body onload="timer()" onmousemove="detime()">
|