cookie
HTTP protocol objects ยป HTTP cookies

Next:<cookie> ( value name -- cookie )


Vocabulary
http

Class description
An HTTP cookie.

Instances contain a number of slots which correspond exactly to the fields of a cookie in the cookie specification:
nameThe cookie name, a string
valueThe cookie value, an object supported by present
commentA string
pathThe pathname prefix where the cookie is valid, a string
domainThe domain name where the cookie is valid, a string
expiresThe expiry time, a timestamp or f for a session cookie
max-ageThe expiry duration, a duration or f for a session cookie
http-onlyIf set to a true value, JavaScript code cannot see the cookie
secureIf set to a true value, the cookie is only sent for https protocol connections

Only one of expires and max-age can be set; the latter is preferred and is supported by all modern browsers.

Definition

TUPLE: cookie
name value version comment path domain expires max-age
http-only secure ;