out() calls returnStatus( 1 ) # Which closes the popup and reloads the homepage in the # main Window. ###########################################################*/ // Close the progress Window. print $status->closeOut(1); $doLogout = true; error_log("Distroying the Session"); session_destroy(); unset( $_SESSION['login'] ); unset( $_SESSION['user'] ); unset( $_SESSION ); return; } ?>