ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
sessioncheck.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4if(!file_exists(getcwd() . '/ilias.ini.php'))
5{
6 exit();
7}
8
9include_once "Services/Context/classes/class.ilContext.php";
11
12require_once("Services/Init/classes/class.ilInitialisation.php");
14
15include_once 'Services/Authentication/classes/class.ilSessionReminderCheck.php';
17echo $session_reminder_check->getJsonResponse(
18 ilUtil::stripSlashes($_POST['session_id'])
19);
20exit();
21?>
$_POST["username"]
An exception for terminatinating execution or to throw for unit testing.
static init($a_type)
Init context by type.
const CONTEXT_SESSION_REMINDER
static initILIAS()
ilias initialisation
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
$session_reminder_check