Learn R Programming

cookies (version 0.2.3)

.is_http_only: Is this cookie HttpOnly?

Description

HttpOnly cookies can't be manipulated via javascript.

Usage

.is_http_only(cookie_name, session = shiny::getDefaultReactiveDomain())

Value

A logical indicating whether cookie_name is http-only.

Arguments

cookie_name

The cookie to check.

session

Shiny session in which the cookies can be found (the default should probably always be used).