diff -ur TYPO3core_orig_cvs/typo3/alt_main.php TYPO3core/typo3/alt_main.php --- TYPO3core_orig_cvs/typo3/alt_main.php 2005-10-21 10:06:59.000000000 +0200 +++ TYPO3core/typo3/alt_main.php 2005-10-25 09:48:47.000000000 +0200 @@ -173,6 +173,7 @@ this.openRefreshWindow = busy_OpenRefreshWindow; this.busyloadTime=0; this.openRefreshW=0; + this.reloginCancelled=0; } function busy_loginRefreshed() { // var date = new Date(); @@ -182,7 +183,7 @@ function busy_checkLoginTimeout() { // var date = new Date(); var theTime = Math.floor(date.getTime()/1000); - if (theTime > this.busyloadTime+'.intval($BE_USER->auth_timeout_field).'-10) { + if (theTime > this.busyloadTime+'.intval($BE_USER->auth_timeout_field).'-30) { return true; } } @@ -192,10 +193,11 @@ this.openRefreshW=1; } function busy_checkLoginTimeout_timer() { // - - if (busy.checkLoginTimeout()) { - if (!busy.openRefreshW && confirm('.$GLOBALS['LANG']->JScharCode($LANG->sL('LLL:EXT:lang/locallang_core.php:mess.refresh_login')).')) { + if (busy.checkLoginTimeout() && !busy.reloginCancelled && !busy.openRefreshW) { + if(confirm('.$GLOBALS['LANG']->JScharCode($LANG->sL('LLL:EXT:lang/locallang_core.php:mess.refresh_login')).')) { busy.openRefreshWindow(); + } else { + busy.reloginCancelled = 1; } } window.setTimeout("busy_checkLoginTimeout_timer();",2*1000); // Each 2nd second is enough for checking. The popup will be triggered 10 seconds before the login expires (see above, busy_checkLoginTimeout())