Method | Description | |
---|---|---|
destroy ( ) | Destroys a session | |
get ( mixed $key = false, mixed $default = null ) : mixed | Gets a session value by key | |
id ( ) : string | Returns the current session id | |
remove ( mixed $key ) : array | Removes a value from the session by key | |
restart ( ) | Destroys a session first and then starts it again | |
set ( mixed $key, mixed $value = false ) | Sets a session value by key | |
start ( ) | Starts a new session |
static public restart ( ) |