src/Web/ClientProxy.php
public function redirectPage($pageURL)
    {
        if (!$this->isRpc) {
            $func = (isset($_REQUEST['F']) ? $_REQUEST['F'] : "");
            if ($func == "RPCInvoke") {
                $this->isRpc = true;
            }
        }
        if (!$this->isRpc) {
            ob_clean();
            header("Location: $pageURL");
            return;
        }
        if ($pageURL == "#back") {
            $this->_otherOutput[] = $this->callClientFunction("history.go(-1)");
        } else {
            $pageURL = str_replace("&", "&amp;", $pageURL);
            $this->_otherOutput[] = $this->callClientFunction("Openbizx.Net.redirectPage('$pageURL')");
        }
    }
public function redirectPage($pageURL)
    {
        if (!$this->isRpc) {
            $func = (isset($_REQUEST['F']) ? $_REQUEST['F'] : "");
            if ($func == "RPCInvoke") {
                $this->isRpc = true;
            }
        }
        if (!$this->isRpc) {
            ob_clean();
            header("Location: $pageURL");
            return;
        }
        if ($pageURL == "#back") {
            $this->_otherOutput[] = $this->callClientFunction("history.go(-1)");
        } else {
            $pageURL = str_replace("&", "&amp;", $pageURL);
            $this->_otherOutput[] = $this->callClientFunction("Openbizx.Net.redirectPage('$pageURL')");
        }
    }
Redirect page to the given url.
Encoded html string returns to browser, it'll be processed by client javascript.
NOTE: NYU - not yet used

@param string $pageURL
@return void