ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 exit();
6}
7
8include_once "Services/Context/classes/class.ilContext.php";
10
11require_once("Services/Init/classes/class.ilInitialisation.php");
13
14include_once 'Services/Authentication/classes/class.ilSessionReminderCheck.php';
16echo $session_reminder_check->getJsonResponse(
17 ilUtil::stripSlashes($_POST['hash'] ?? '')
18);
19exit();
$_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