Class Session
Provides access to session sections as well as session settings and management methods.
- Object
- Session
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
getSection( string $section, string $class = 'SessionSection' )
Returns specified session section. |
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
array
|
|
public
|
#
setExpiration( string|integer|
Sets the amount of time allowed between requests before the session will be terminated. |
public
|
#
setCookieParameters( string $path, string $domain = NULL, boolean $secure = NULL )
Sets the session cookie parameters. |
public
array
|
|
public
|
|
public
|
|
public
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
integer |
DEFAULT_FILE_LIFETIME
|
10800 |
#
Default file lifetime is 3 hours |
public
string
|
$name | |
public
array
|
$options | |
public read-only
boolean
|
$started | |
public read-only
string
|
$id | |
public read-only
|
$iterator | |
public write-only
|
$savePath | |
public write-only
|
$storage |
$reflection
|