Linux multi-monitor fullscreen support
[ryzomcore.git] / web / public_php / ring / start_session.php
blobdb876a174bcc401294d897afe421c9ad66132b1e
1 <?php
2 require_once('../tools/validate_cookie.php');
3 include_once('../login/config.php');
4 include_once('../tools/domain_info.php');
5 include_once('ring_session_manager_itf.php');
6 include_once('session_tools.php');
8 $step = 0;
10 $domainId = -1;
11 if (!validateCookie($userId, $domainId, $charId))
13 echo "Invalid cookie !";
14 die();
16 else
18 echo "Welcome user $userId<BR>";
20 startSession($charId, $domainId, $_POST["sessionId"]);
21 // inviteOwnerInSession($charId, $domainId, $_POST["sessionId"]);
23 die();
26 <p><a href="web_start.php">Return to main</a> </p>