-
Expires the session storage instance.
-
(bool) initialize ($options = array())
Browse code
| $options |
An associative array of initialization parameters.
session_name [required] name of session to use
session_cookie_path [required] cookie path
session_cookie_domain [required] cookie domain
session_cookie_lifetime [required] liftime of cookie
session_cookie_secure [required] send only if secure connection
session_cookie_http_only [required] accessible only via http
protocol
|
Initialize this Storage.
returns true, if initialization completes successfully, otherwise false.
throws sfInitializationException If an error occurs while initializing this Storage.
-
| $key |
A unique key identifying your data.
|
Read 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
throws sfStorageException If an error occurs while regenerating this storage
-
| $key |
A unique key identifying your data.
|
Remove 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.
throws sfStorageException If an error occurs while shutting down this storage
-
| $key |
A unique key identifying your data.
|
| $data |
Data associated with your key.
|
Write data to this storage.
The preferred format for a key is directory style so naming conflicts can be avoided.