Class Session
Provides access to session sections as well as session settings and management methods.
- Nette\Object
- Nette\Http\Session
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
getSection( string $section, string $class = 'Nette\Http\SessionSection' )
Returns specified session section. |
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
|
#
setStorage(
Sets user session storage for PHP < 5.4. For PHP >= 5.4, use setHandler(). |
public
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
integer |
DEFAULT_FILE_LIFETIME
Default file lifetime is 3 hours |
# 10800 |
$reflection
|