OptionaldomainOptionalexpiresThe cookie Unix expiration time in seconds.
OptionalhttpThe cookie http only flag.
The cookie name.
OptionalpathThe cookie path.
OptionalsameThe cookie same site definition.
OptionalsecureThe cookie secure flag.
OptionalsessionThe session cookie flag.
OptionalurlThe request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie.
The cookie value.
The cookie domain.