setAuthCode($authCode); $auth->setAuthSession($encodedSession); $auth->auth(); $param = $_GET["param"]; $privatekey = crm_hardlock::GetWebformPrivateKey(); $url = crm_hardlock::decode($privatekey, $session, $param); $url .= "&restart=true"; Header("Location: " . $url);