Error ".$resultCode." : '".$resultString."' will trying to close the session ".$_POST["sessionId"].""; echo '

Back to menu'; } else { // ok, the session is closed (or almost to close) echo "

Session ".$_POST["sessionId"]." is begin closed

"; echo '

Return to main

'; } } } $domainId = -1; if (!validateCookie($userId, $domainId, $charId)) { echo "Invalid cookie !"; die(); } else { $domainInfo = getDomainInfo($domainId); $addr = split(":", $domainInfo["session_manager_address"]); $RSMHost = $addr[0]; $RSMPort = $addr[1]; // ask to start the session $closeSession = new CloseSessionCb; $res = ""; $closeSession->connect($RSMHost, $RSMPort, $res); // $rsmProxy = new CRingSessionManagerWebProxy; $closeSession->closeSession($charId, $_POST["sessionId"]); // wait the the return message // $rsmSkel = new CRingSessionManagerWebSkel; $closeSession->waitCallback(); die(); } ?>

Return to main