OptionaldomainOptionalnameThe name of the session cookie.
Default: __session.
OptionalpathThe path attribute of the session cookie. Will be set to '/' by default.
OptionalsameThe sameSite attribute of the session cookie.
Default: lax.
OptionalsecureThe secure attribute of the session cookie.
Default: depends on the protocol of the application's base URL. If the protocol is https, then true, otherwise false.
OptionaltransientThe transient attribute of the session cookie. When true, the cookie will not persist beyond the current session.
Specifies the value for the Set-Cookie attribute. By default, no domain is set, and most clients will consider the cookie to apply to only the current domain.