The "List.aspx" file has this code (as seen in 'View Source'):
Code: Select all
function Reconnect () {
var refresh;
document.all['BGSOUND_ID'].src='/default/skins/Aqua/newemail.wav'; // play a sound
refresh = confirm ("Your session is about to timeout in 30 seconds. Do you wish to stay connected?");
var img = new Image(1, 1);
if (refresh==true) {
img.src = '/default/lang/en/Forms/Reconnect.aspx';
count++;
window.status = "Server Refreshed " + count.toString() + " time(s)";
}
}
window.setInterval ("Reconnect()", 3570000);
The solution is to assign the 'Interval' to a variable, like:
Code: Select all
var giTimeoutInterval;
...
giTimeoutInterval = window.setInterval ("Reconnect()", (1000x60x60x59.5));
Code: Select all
if (refresh==true) {
img.src = '/default/lang/en/Forms/Reconnect.aspx';
count++;
window.status = "Server Refreshed " + count.toString() + " time(s)";
}
else {
clearInterval (giTimeoutInterval);
}
Alternatively, you could add an option to 'keep alive' the session. OR add code so that any key press or 'scroll' would call 'Refresh()' - this would mean the 'timeout counter' on the server would not start as long as the user was doing anything on screen.
I expect there will be many more such bugs, but at least this one is easy to fix - 5 minutes tops!
Thanks in advance
/Kevin