Optional
domainOptional
nameThe name of the session cookie.
Default: __session
.
Optional
pathThe path attribute of the session cookie. Will be set to '/' by default.
Optional
sameThe sameSite attribute of the session cookie.
Default: lax
.
Optional
secureThe 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
.
Optional
transientThe 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.