Read session state
Syntax
loadFromSession("my-prop-1", persistent: false)
Description
Loads a value that was saved under the specified key in the session or the user's personal settings and returns it.
Parameters
name | Type | Type Description | Mandatory | Default |
---|---|---|---|---|
key | Character string | Key under which the value is stored in the session or the user's personal settings | yes | - |
persistent | Truth value | Whether the value should be read from the user's personal settings (true ) or from the session state (false ). |
no | false |
Return value
Type: Number/string/truth value/subject object/list
The stored value.