ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Cookies.php
Go to the documentation of this file.
1
<?php
45
class
Slim_Session_Handler_Cookies
extends
Slim_Session_Handler
{
46
47
public
function
open
( $savePath, $sessionName ) {
48
return
true
;
49
}
50
51
public
function
close
() {
52
return
true
;
//Not used
53
}
54
55
public
function
read
( $id ) {
56
return
$this->app->getEncryptedCookie($id);
57
}
58
59
public
function
write
( $id, $sessionData ) {
60
$this->app->setEncryptedCookie($id, $sessionData, 0);
61
}
62
63
public
function
destroy
( $id ) {
64
$this->app->deleteCookie($id);
65
}
66
67
public
function
gc
( $maxLifetime ) {
68
return
true
;
//Not used
69
}
70
71
}
Services
WebServices
Rest
lib
Slim
Session
Handler
Cookies.php
Generated on Wed Apr 27 2016 21:02:16 for ILIAS by
1.8.1.2 (using
Doxyfile
)