sessionVars()
4min
๏ปฟ
Attach custom key/value data to the session.
Name | Description |
vars | (Required) An object containing key/value pairs that provide additional context for the session. |
The keys can be arbitrary but special support is provided for some keys.
Key | Description |
E-mail address for the user. | |
user_name | A human readable name for the user. |
tenant | A name/identifier for the tenant the user belongs to. |
build_version | An identifier for the current build of your app. |
๏ปฟ
Multiple calls to relicxSDK.sessionVars() are resolved by using the latest value for each key.