Cookie

Defines web browser cookie variables, including expiration and security options.

Component Signature

<bx:Cookie name=[string]
value=[string]
secure=[boolean]
httpOnly=[boolean]
expires=[any]
samesite=[string]
path=[string]
domain=[string]
encodevalue=[boolean] />

Attributes

Atrribute
Type
Required
Description
Default

name

string

true

value

string

false

secure

boolean

false

httpOnly

boolean

false

expires

any

false

samesite

string

false

path

string

false

domain

string

false

encodevalue

boolean

false

true

Examples

Last updated

Was this helpful?