SMMP/test/ajaxTest.php

13 lines
297 B
PHP

<?php define('__ROOT__', dirname(dirname(__FILE__)) );
require_once __ROOT__.'/manager/autoloader.php';
debug();
// DEFAULT SESSION CREDENTIALS
echo '{"data1": "'.session_id().'"}';
// echo '"data2": "'. ( $_SESSION['session_token']==$_COOKIE['session_token'] ? 'YES' : 'NO' ). '"}';
?>