Learn R Programming

cookies (version 0.2.3)

.validate_http_only: Ensure http_only is valid

Description

Ensure http_only is valid

Usage

.validate_http_only(http_only)

Value

NULL or TRUE.

Arguments

http_only

Logical indicating whether the cookie should only be sent as part of an HTTP request. When this is FALSE (default), the cookie is accessible to JavaScript via the Document.cookie property.