Resetting the timer in checkPorgStat to: ". $currentClick ); // Reset the CMI inactivity timer also. if( !@reset_inactive_timer($_SESSION['user']) ) { session_destroy(); } } $_SESSION['lastclick'] = $currentClick; } /*########################################################################### # Because this is running from a hidden div we CAN-NOT use our php handler ###########################################################################*/ restore_error_handler(); $statusObj = check_drive_op_status( $user, $_GET['opGuid'] ); $save_error_handler = set_error_handler("errorHandler"); if( $statusObj->InProgress != 1 || $statusObj->Status != 1) { error_log("Exiting the progress window in checkProgStat.htm. InProgress = ". $statusObj->InProgress ." and Status = ". $statusObj->Status ); $status = new ReturnStatus(); if($statusObj->Status != 2 && $statusObj->Result != 0) { // If the status is not equal to 2(complete) and there is no result code, then we have a code bug // so we'll set the error code to Failed. error_log("Setting the error code to 1"); $status->setErrorCode(1); } else if($statusObj->Result != -2147483648) { // The operation failed, -2147483648 = 0x80000000 = Succeeded; error_log("Setting the error code to Result"); $status->setErrorCode($statusObj->Result); } $tmp = 0; if(isset($_SESSION['ContinueOnError']) && $_SESSION['ContinueOnError'] == 1 ) $tmp = 1; error_log("Doing the print status->out_complete($tmp)"); print $status->out_complete($tmp); } ?>