Phil. This looks like it is exactly what I need but run just as it is it
gets a error un-terminated string constant.
.
<html>
<head>
<script language="JavaScript">
var timeoutCounter = new Number();
var timeoutCounter = 30;
function sessionTimeout(){
setTimeout('sessionTimeout()',60000);
if((timeoutCounter - 1) >= 0){
document.getElementById('sessionState').innerHTML = 'Timeout in ' +
timeoutCounter + ' minutes.';
timeoutCounter = timeoutCounter - 1;
}
else {
document.getElementById('sessionState').innerHTML = 'Your session
has timed out. You will need to login again.';
timeoutCounter = - 1;
}
}
</script>
</head>
<body onLoad="sessionTimeout()">
<div id="sessionState"></div>
</body>
</html>
on 4/18/05 21:28, Phil Wade at [EMAIL PROTECTED] wrote:
> <html>
> <head>
> <script language="JavaScript">
> var timeoutCounter = new Number();
> var timeoutCounter = 30;
>
> function sessionTimeout(){
> setTimeout('sessionTimeout()',60000);
> if((timeoutCounter - 1) >= 0){
> document.getElementById('sessionState').innerHTML = 'Timeout in ' +
> timeoutCounter + ' minutes.';
> timeoutCounter = timeoutCounter - 1;
> }
> else {
> document.getElementById('sessionState').innerHTML = 'Your session
> has timed out. You will need to login again.';
> timeoutCounter = - 1;
> }
> }
> </script>
> </head>
> <body onLoad="sessionTimeout()">
> <div id="sessionState"></div>
> </body>
> </html>
--
Dan Stein
FileMaker 7 Certified Developer
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Cell: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000, MySQL, CWP
[EMAIL PROTECTED]
www.dss-db.com
"The love of one's country is a splendid thing. But why should love stop at
the border?�"���������������������������������������������
Pablo Casals
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf