-
Clears all test sessions.
-
(string) getSessionId ()
Browse code
Gets session id for the current session storage instance.
returns Session id
-
initialize ($options = null)
Browse code
| $options |
An associative array of options
|
Available options:
* session_path: The path to store the session files
* session_id: The session identifier
-
| $key |
A unique key identifying your data
|
Reads data from this storage.
The preferred format for a key is directory style so naming conflicts can be avoided.
returns Data associated with the key
-
(boolean) regenerate ($destroy = false)
Browse code
| $destroy |
Destroy session when regenerating?
|
Regenerates id that represents this storage.
returns True if session regenerated, false if error
-
| $key |
A unique key identifying your data
|
Removes data from this storage.
The preferred format for a key is directory style so naming conflicts can be avoided.
returns Data associated with the key
-
Executes the shutdown procedure.
-
| $key |
A unique key identifying your data
|
| $data |
Data associated with your key
|
Writes data to this storage.
The preferred format for a key is directory style so naming conflicts can be avoided