Optional
domainOptional
maxThe expiration time for transaction cookies in seconds. If not provided, defaults to 1 hour (3600 seconds).
Optional
pathThe path attribute of the transaction cookie. Will be set to '/' by default.
Optional
prefixThe prefix of the cookie used to store the transaction state.
Default: __txn_{state}
.
Optional
sameThe sameSite attribute of the transaction cookie.
Default: lax
.
Optional
secureThe secure attribute of the transaction cookie.
Default: depends on the protocol of the application's base URL. If the protocol is https
, then true
, otherwise false
.
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.