static function Redirect($target, $redirectHeader = "", $noExit = false)
    {
        session_write_close();
        if ($redirectHeader)
        {
            header($redirectHeader);
        }
        header("Location: ". $target);
        if (!$noExit)
        {
            exit();
        }
    }
static function Redirect($target, $redirectHeader = "", $noExit = false)
    {
        session_write_close();
        if ($redirectHeader)
        {
            header($redirectHeader);
        }
        header("Location: ". $target);
        if (!$noExit)
        {
            exit();
        }
    }
static function Redirect ( $ target , $ redirectHeader = "" , $ noExit = false ) { session_write_close ( ) ; if ( $ redirectHeader ) { header ( $ redirectHeader ) ; } header ( "Location: " . $ target ) ; if ( ! $ noExit ) { exit ( ) ; } }
Sends the header string if given and redirects to the target
@param string $target
@param string $redirectHeader
Sends the header string if given and redirects to the target