updateStore: Update local storage

Description Usage Arguments

Description

Send the name of the field to update and the value which should be stored in this user's local storage.

Usage

1
updateStore(session, name, value, encrypt = NULL)

Arguments

session

The session paramter from the shinyServer function.

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 PKI.load.key which will then be used to encrypt the fields.


trestletech/shinyStore documentation built on May 31, 2019, 7:50 p.m.