to any page that i want the script to run. When it re-directs me to session_logout.asp is there any way that i can close any pop-up windows that have been opened while signed in with this session? I am using ASP sessions as per this code below:
Code:
companyid = Session("companyid")
Code:
<SCRIPT LANGUAGE = "JavaScript">
// Script to warn user when there are sixty seconds of their logout time left
// and then send user to login after eight minutes have elapsed
<!--
var secs
var timerID = null
var timerRunning = false
var delay = 1000
function InitializeTimer()
{
// Set the length of the timer, in seconds
secs = 1740
StopTheClock()
StartTheTimer()
}
function StopTheClock()
{
if(timerRunning)
clearTimeout(timerID)
timerRunning = false
}
function redirectFrame(){
top.location="session_logout.asp?logout=false";
}
function StartTheTimer()