name()
name(string $name) : self
Set a session name.
Parameters
| string | $name | to set as session name. |
getOnce(string $key, mixed $default = null) : mixed
Read a value from the session and unset it, this is a form of read once flash memory using the session.
| string | $key | in session variable. |
| mixed | $default | default value to return when key is not set in the session. |
value from session and null if not set.