SessionInterface
in
Session interface
Tags
Table of Contents
Methods
- kill() : void
- Destroy the session
- setRequestValue() : SessionInterface
- Set a request-based value
- setTimedValue() : SessionInterface
- Set a time-based value
Methods
kill()
Destroy the session
public
kill() : void
setRequestValue()
Set a request-based value
public
setRequestValue(string $key, mixed $value[, int $hops = 1 ]) : SessionInterface
Parameters
- $key : string
- $value : mixed
- $hops : int = 1
Return values
SessionInterfacesetTimedValue()
Set a time-based value
public
setTimedValue(string $key, mixed $value[, int $expire = 300 ]) : SessionInterface
Parameters
- $key : string
- $value : mixed
- $expire : int = 300