Send the name of the field to update and the value which should be stored in this user's local storage.
1 | updateStore(session, name, value, encrypt = NULL)
|
session |
The session paramter from the
|
name |
The name for this setting. This is the name you'll reference later when you want to retrieve this value from your storage object. |
value |
The value for this setting. Can be a string, in which case it will be passed through unbothered, or a more complex object which will be translated to JSON. |
encrypt |
If NULL (the default), the field will not
be encrypted. Otherwise, it will expect a PKI public key
in the form generated by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.