khanat-opennel-code/code/web/public_php/ring/start_session.php
Guillaume Dupuy 6f1197d633 Allow target to work with sheetName and a quiet option
HG : Enter commit message.  Lines beginning with 'HG:' are removed.
2016-11-28 00:54:33 +01:00

26 lines
611 B
PHP

<?php
require_once('../tools/validate_cookie.php');
include_once('../login/config.php');
include_once('../tools/domain_info.php');
include_once('ring_session_manager_itf.php');
include_once('session_tools.php');
$step = 0;
$domainId = -1;
if (!validateCookie($userId, $domainId, $charId))
{
echo "Invalid cookie !";
die();
}
else
{
echo "Welcome user $userId<BR>";
startSession($charId, $domainId, $_POST["sessionId"]);
// inviteOwnerInSession($charId, $domainId, $_POST["sessionId"]);
die();
}
?>
<p><a href="web_start.php">Return to main</a> </p>