◆ __construct()
◆ close()
Close a session
- Renvoie
- bool
◆ destroy()
Destroy a session
- Paramètres
-
- Renvoie
- bool
◆ gc()
Garbage Collector
- Paramètres
-
int | $expire | Time in seconds until a session expires |
- Renvoie
- bool
◆ gc_force()
Force gc for situations where gc is registered but not executed
◆ open()
open |
( |
|
$save_path, |
|
|
|
$session_name |
|
) |
| |
Open a session
- Paramètres
-
string | $save_path | |
string | $session_name | |
- Renvoie
- bool
◆ read()
Read a session from the database
- Paramètres
-
string | $sess_id | ID of the session |
- Renvoie
- array Session data
◆ regenerate_id()
regenerate_id |
( |
|
$delete_old_session = false | ) |
|
Update the current session id with a newly generated one
To be refactored
- Paramètres
-
- Renvoie
- bool
◆ update_cookie()
update_cookie |
( |
|
$sess_id = null , |
|
|
|
$expire = null |
|
) |
| |
Update cookie status for current session
To be refactored FIXME: how about $xoopsConfig['use_ssl'] is enabled?
- Paramètres
-
string | $sess_id | session ID |
int | $expire | Time in seconds until a session expires |
- Renvoie
- bool
◆ write()
write |
( |
|
$sess_id, |
|
|
|
$sess_data |
|
) |
| |
Write a session to the database
- Paramètres
-
string | $sess_id | |
string | $sess_data | |
- Renvoie
- bool
◆ $bitMasks
Valeur initiale := array(
2 => array('v4' => 16, 'v6' => 64),
3 => array('v4' => 24, 'v6' => 56),
4 => array('v4' => 32, 'v6' => 128),
)
◆ $db
◆ $enableRegenerateId
$enableRegenerateId = true |
◆ $securityLevel
La documentation de cette classe a été générée à partir du fichier suivant :