Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

_Response_Cookie (gb.web)

Since 3.19

This class allows to define the default properties of the cookie sent to the client

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie for the details.

This class is virtual.

This class is not creatable.

Properties
Domain   Return or set the cookie domain.
Expires   Return or set the cookie expiration date.
HttpOnly   Return or set if the cookie is only visible to HTTP requests (and not Javascript code).
Path   Return or set the cookie path.
SameSite   Return or set the "SameSite" cookie policy.
Secure   Return or set if the cookie is only set on HTTPS requests.