start_user_session | R Documentation |
Start or Resume a User Session
start_user_session( appid, userid_param_name = "userid", default_userid = "unknown", domain = getDefaultReactiveDomain(), session_length = 0.125 )
appid |
application id. All applications with the same ID share the same session (e.g., to store the user id). |
userid_param_name |
query string parameter name for the user id. |
default_userid |
fallback user id if it can not be determined from the query string or read/written from/to a cookie. |
domain |
Shiny reactive domain. |
session_length |
how long (in days) should the user session last? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.