putsessionvar
- Ariadne >
- Library >
- Ariadne 2.4 >
- Manuals >
- Programmers Reference >
- Classes >
- Object >
- PINP Methods >
(void) putsessionvar($varname, $varvalue)
Stores the given value under the given name in the current session.
| Argument | Description |
|---|---|
| (string) $varname | The name of the variable to store. |
| (mixed) $varvalue | The value of the variable. |
putsessionvar() stores a variable in the session store, for
later use during the session. The variable will remain available untill the
session is killed, using killsession(),
or timed out. The variable can be retrieved using getsessionvar().

