_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.
Tato třída je nevyvořitelná.
Vlastnosti
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.
|