khanat-opennel-code/code/web/public_php/ring/start_session.php
botanic be9704a768 Upload button setup
TODO: add files to database
TODO: hash folder to stick files in
2014-09-04 19:58:04 -07: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>