Definition at line 41 of file session_manager.inc.
◆ close()
static SessionManager::close |
( |
| ) |
|
|
static |
◆ createDefaultSettings()
static SessionManager::createDefaultSettings |
( |
| ) |
|
|
static |
Definition at line 46 of file session_manager.inc.
static setDefaultValue($component, $name, $value, $field_type="String", $annotation="", $category="", $options="", $weight=0)
Sets the default value of the given component setting.
◆ destroy()
static SessionManager::destroy |
( |
|
$id | ) |
|
|
static |
Definition at line 127 of file session_manager.inc.
129 trace(
"Session Destroy $id", 3);
134 if ($session) $session->delete();
◆ gc()
static SessionManager::gc |
( |
| ) |
|
|
static |
◆ onInitialize()
static SessionManager::onInitialize |
( |
| ) |
|
|
static |
Definition at line 51 of file session_manager.inc.
58 session_set_save_handler(
67 register_shutdown_function(session_write_close);
static getValue($component, $name)
Retrieve the value of the specified Setting.
◆ open()
static SessionManager::open |
( |
|
$save_path, |
|
|
|
$session_name |
|
) |
| |
|
static |
◆ read()
static SessionManager::read |
( |
|
$id | ) |
|
|
static |
Definition at line 80 of file session_manager.inc.
82 trace(
"Session Read $id", 3);
87 if ($session->expires < time())
return null;
88 return $session->data;
◆ upgradeComponent()
static SessionManager::upgradeComponent |
( |
|
$version | ) |
|
|
static |
◆ write()
static SessionManager::write |
( |
|
$id, |
|
|
|
$data |
|
) |
| |
|
static |
Definition at line 96 of file session_manager.inc.
98 trace(
"Session Write $id", 3);
107 if ($session->session_id && ($data == $session->data))
109 $session->filter =
new ExclusionFilter(
"data",
"id");
113 $session->filter =
null;
117 $session->data = $data;
118 $session->expires = $expiry;
◆ $hash
◆ $lifeTime
SessionManager::$lifeTime |
|
static |
The documentation for this class was generated from the following file: