Cache-based session handler.
More...
Cache-based session handler.
Instantiate class
- Returns
- object
Session::agent |
( |
|
$id = NULL | ) |
|
Return HTTP user agent associated with specified session ID
- Returns
- string|FALSE
- Parameters
-
Garbage collector
- Returns
- TRUE
- Parameters
-
Close session
- Returns
- TRUE
Session::csrf |
( |
|
$id = NULL | ) |
|
Return anti-CSRF tokan associated with specified session ID
- Returns
- string|FALSE
- Parameters
-
Destroy session
- Returns
- TRUE
- Parameters
-
Session::ip |
( |
|
$id = NULL | ) |
|
Return IP address associated with specified session ID
- Returns
- string|FALSE
- Parameters
-
Session::open |
( |
|
$path, |
|
|
|
$name |
|
) |
| |
Open session
- Returns
- TRUE
- Parameters
-
Return session data in serialized format
- Returns
- string|FALSE
- Parameters
-
Session::stamp |
( |
|
$id = NULL | ) |
|
Return Unix timestamp associated with specified session ID
- Returns
- string|FALSE
- Parameters
-
Session::write |
( |
|
$id, |
|
|
|
$data |
|
) |
| |
Write session data
- Returns
- TRUE
- Parameters
-
The documentation for this class was generated from the following file: