.http_attributes | R Documentation |
Prepare cookie attributes for HTTP
.http_attributes(expiration, secure_only, domain, path, same_site, http_only)
expiration |
Days after which the cookie should expire. To remove an HttpOnly cookie, send a negative value for this attribute. |
secure_only |
Logical indicating whether the cookie should only be
accessible via secure ( |
domain |
The host to which the cookie will be sent (including
subdomains). If this is |
path |
The path that must exist in the requested URL for the browser to send this cookie. Includes subdirectories. |
same_site |
One of "strict", "lax" (default), or "none", indicating when
the cookie should be sent. When |
http_only |
Logical indicating whether the cookie should only be sent as
part of an HTTP request. When this is |
A list of attributes ready for HTTP.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.