TIMEOUT_SECS ) //{ // logoff($_SESSION['user']); // session_destroy(); // header('location:'.LOGIN_REDIRECT_PAGE); //} if( ! isset($NoInactivityTimer ) ) { error_log("---->Attempting to Resetting the timer to: ". $currentClick ); // Reset the CMI inactivity timer also. if( !@reset_inactive_timer($_SESSION['user']) ) { error_log("reset_inactive_timer failed - we will not continue."); session_destroy(); header('location:'.LOGIN_REDIRECT_PAGE); exit(-1); } } else error_log("\n\nNOT CHECKING THE INACTIVITY TIME ON THE PAGE LOAD!\n\n"); $_SESSION['lastclick'] = $currentClick; } else { // // a required parameter doesn't exist // header('location:'.LOGIN_REDIRECT_PAGE); exit(-1); } } else { // // a required parameter doesn't exist // header('location:'.LOGIN_REDIRECT_PAGE); exit(-1); } }// End of !isset($doNotCheckLogin) ?>