Standard session configuration
Get an individual option
Keys are normalized to lowercase. If the option is not found, attempts to retrieve it via {@link getStorageOption()}; if a value is returned from that method, it will be set as the internal value and returned.
Returns null for unfound options
| Parameters: | string – |
|---|---|
| Return type: | mixed |
Check to see if an internal option has been set for the key provided.
| Parameters: | string – |
|---|---|
| Return type: | bool |
Set storage option in backend configuration store
Does nothing in this implementation; others might use it to set things such as INI settings.
| Parameters: |
|
|---|---|
| Return type: | StandardConfig |
Retrieve a storage option from a backend configuration store
Used to retrieve default values from a backend configuration store.
| Parameters: | string – |
|---|---|
| Return type: | mixed |
Set session.save_path
| Parameters: | string – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException on invalid path |
Set session.name
| Parameters: | string – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Set session.gc_probability
| Parameters: | int – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Set session.gc_divisor
| Parameters: | int – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Set gc_maxlifetime
| Parameters: | int – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Set session.cookie_lifetime
| Parameters: | int – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Set session.cookie_path
| Parameters: | string – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Set session.cookie_domain
| Parameters: | string – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Set session.cookie_secure
| Parameters: | bool – |
|---|---|
| Return type: | StandardConfig |
Set session.cookie_httponly
case sensitive method lookups in setOptions means this method has an unusual casing
| Parameters: | bool – |
|---|---|
| Return type: | StandardConfig |
Set session.use_cookies
| Parameters: | bool – |
|---|---|
| Return type: | StandardConfig |
Set session.entropy_file
| Parameters: | string – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
set session.entropy_length
| Parameters: | int – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Set session.cache_expire
| Parameters: | int – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Set session.hash_bits_per_character
| Parameters: | int – |
|---|---|
| Return type: | StandardConfig |
| Throws : | ExceptionInvalidArgumentException |
Get session.hash_bits_per_character
| Return type: | string |
|---|