ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
disable.php
Go to the documentation of this file.
1 <?php
2 
12  'expire' => (mktime(0,0,0,1,1,2038)),
13  'secure' => FALSE,
14  'httponly' => TRUE,
15 );
16 \SimpleSAML\Utils\HTTP::setCookie('NEGOTIATE_AUTOLOGIN_DISABLE_PERMANENT', 'True', $params, FALSE);
17 
20 $session->setData('negotiate:disable', 'session', FALSE, 24*60*60);
21 $t = new SimpleSAML_XHTML_Template($globalConfig, 'negotiate:disable.php');
22 $t->data['url'] = SimpleSAML\Module::getModuleURL('negotiate/enable.php');
23 $t->show();
$params
Definition: disable.php:11
$t
Definition: disable.php:21
$globalConfig
Definition: disable.php:18
static getModuleURL($resource, array $parameters=array())
Get absolute URL to a specified module resource.
Definition: Module.php:303
$session
Definition: disable.php:19
static setCookie($name, $value, $params=null, $throw=true)
Set a cookie.
Definition: HTTP.php:1107
Create styles array
The data for the language used.
static getSessionFromRequest()
Retrieves the current session.
Definition: Session.php:243
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.