Use Browser Cookies with 'shiny'
Add cookies to an existing shiny ui
Attach the js-cookie javascript library for shiny
cookies: Use Browser Cookies with 'shiny'
Condense attributes to a string
Generate the separate attribute strings
Prepare cookie attributes for HTTP
Condense cookie attributes to a set-cookie string
Convert expiration days to the expected date format
Is this cookie HttpOnly?
Prepare cookie attributes for javascript
Find the main session
Parameters used in multiple functions
Prep data for javascript
Ensure cookie attributes are valid
Ensure domain is valid
Ensure expiration is valid
Ensure http_only is valid
Ensure the argument is a single logical value
Ensure path is valid
Ensure same_site is valid
Ensure the argument is a single logical value
Ensure secure_only is valid
Extract an individual cookie from a shiny request
Extract all cookies from a shiny request
Read a cookie
Remove a cookie
Create or update a cookie
Shiny tag to add cookies on page load
Set cookie via HTTP header
Browser cookies are name-value pairs that are saved in a user's browser by a website. Cookies allow websites to persist information about the user and their use of the website. Here we provide tools for working with cookies in 'shiny' apps, in part by wrapping the 'js-cookie' JavaScript library <https://github.com/js-cookie/js-cookie>.
Useful links