Class Session
Provides access to session sections as well as session settings and management methods.
- Nette\Http\Session uses Nette\SmartObject
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
getSection( string $section, string $class = SessionSection::class )
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
|
|
public
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
integer |
DEFAULT_FILE_LIFETIME
Default file lifetime |
# 3*Nette\Utils\DateTime::HOUR |