Local storage front calls
This section describes front calls to store data on the front-end platform.
Key/Value pairs can be stored locally on the front-end side with the
localStorage
front calls.
Local storage is supported by all front-ends.
The data is stored on the platform where the front-end executes, and is persistent across application sessions.
This feature can for example be used to keep a trace of the authenticated users, if the authentication mechanism is written in Genero.
The table shows the functions implemented by all front-ends in the
"localStorage
" module.
Function Name | Description |
---|---|
|
Removes all local storage key/value pairs. |
|
Returns the current value of local storage key. |
|
Returns the list of defined local storage keys. |
|
Deletes the specified local storage key. |
|
Sets a value for local storage key. |