SetCookie package:cookie
The domain for which the cookie should be sent. Default value:
Nothing (The browser defaults to the current domain).
The time at which to expire the cookie. Default value:
Nothing (The browser will default to expiring a cookie when
the browser is closed).
Marks the cookie as "HTTP only", i.e. not accessible from Javascript.
Default value: False
The maximum time to keep the cookie, in seconds. Default value:
Nothing (The browser defaults to expiring a cookie when the
browser is closed).
The name of the cookie. Default value: "name"
Cookies marked Partitioned are double-keyed: by the origin that sets
them and the origin of the top-level page. Default value:
False
The URL path for which the cookie should be sent. Default value:
Nothing (The browser defaults to the path of the request that
sets the cookie).
The "same site" policy of the cookie, i.e. whether it should be sent
with cross-site requests. Default value: Nothing
Instructs the browser to only send the cookie over HTTPS. Default
value: False
The value of the cookie. Default value: "value"