start_user_session: Start or Resume a User Session

start_user_sessionR Documentation

Start or Resume a User Session

Description

Start or Resume a User Session

Usage

start_user_session(
  appid,
  userid_param_name = "userid",
  default_userid = "unknown",
  domain = getDefaultReactiveDomain(),
  session_length = 0.125
)

Arguments

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?


dakep/stat305templates documentation built on Nov. 27, 2022, 8:23 a.m.