Class Session
Provides access to session namespaces as well as session settings and management methods.
- Nette\Object
- Nette\Web\Session
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
getNamespace( string $namespace, string $class = 'Nette\Web\SessionNamespace' )
Returns specified session namespace. |
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
#
setExpiration( string|integer|
Sets the amount of time allowed between requests before the session will be terminated. |
public
|
#
setCookieParams( string $path, string $domain = NULL, boolean $secure = NULL )
Sets the session cookie parameters. |
public
array
|
|
public
|
|
protected
|
|
protected
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
integer
|
DEFAULT_FILE_LIFETIME
|
10800 |
#
Default file lifetime is 3 hours |