ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
enable.php
Go to the documentation of this file.
1<?php
2
11$params = array(
12 'secure' => FALSE,
13 'httponly' => TRUE,
14);
15\SimpleSAML\Utils\HTTP::setCookie('NEGOTIATE_AUTOLOGIN_DISABLE_PERMANENT', NULL, $params, FALSE);
16
19$session->setData('negotiate:disable', 'session', FALSE, 24*60*60);
20$t = new SimpleSAML_XHTML_Template($globalConfig, 'negotiate:enable.php');
21$t->data['url'] = SimpleSAML\Module::getModuleURL('negotiate/disable.php');
22$t->show();
An exception for terminatinating execution or to throw for unit testing.
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
Definition: Module.php:220
static setCookie($name, $value, $params=null, $throw=true)
Set a cookie.
Definition: HTTP.php:1104
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.
static getSessionFromRequest()
Retrieves the current session.
Definition: Session.php:241
$t
Definition: enable.php:20
$globalConfig
Definition: enable.php:17
$session
Definition: enable.php:18
$params
Definition: enable.php:11