cookie_server {cognitoR} | R Documentation |
Cookie Shiny Module Server
Description
This server module returns a list with methods to interact with cookie created via JS. You have:
Usage
cookie_server(input, output, session, cookie_name = "user", cookie_expire = 7)
Arguments
input |
shiny input |
output |
shiny output |
session |
shiny session |
cookie_name |
character - Name of cookie to create |
cookie_expire |
numeric - Expiration timeof cookie |
Details
getCookie - Reactive function, returns the content of cookie if exist. Else return FALSE.
setCookie - Sets the content for a cookie. (Required param: list())
rmCookie - Removes a cookie
Value
list of reactive element and function to manage cookies
Author(s)
Pablo Pagnone
Examples
cookie_server(NULL,NULL,NULL)
[Package cognitoR version 1.0.5 Index]