cookie-name-pattern
Use the <cookie-name-pattern>
stanza entry to define the static
attributes which will be added to the cookies before they are passed back to the client.
Syntax
<cookie-name-pattern> = {[+|-<user-agent-group>]}<attr-1>{;<attr-2>;...}
Description
Entries in this stanza define static attributes which are added to matching cookies before they
are passed back to the client. A blacklist (-) or a whitelist (+) group of
user agents can be added to control which user agents the cookie attributes are applied for. The
user agent group is defined in the [user-agent-groups]
configuration stanza.
Multiple configuration entries can be configured to manage the static attributes for different
cookies. The configuration order of the entries is significant in that only the first matching
configuration entry is applied to a cookie.
Options
<cookie-name-pattern>
- The
<cookie-name-pattern>
is used to match a cookie. The '*?
' pattern matching characters can be used. {[+|-<user-agent-group]}<attr-1>{;<attr-2>;...}
- The attributes which are to be added to the cookie. A blacklist (-) or a
whitelist (+) group of user agents can be added to control which user agents the cookie attributes
are applied for. The user agent group is defined in the
[user-agent-groups]
configuration stanza. Multiple attributes can be specified, delimited by the ';' character.The supported attributes include: Comment, Expires, Max-Age, Domain, Path, Secure, HttpOnly, and SameSite.
Usage
This stanza entry is optional.
Default Value
None
Example
SameSite=None
' attribute to all cookies which are passed back to the
client, but only for those clients not in the
'[unsupported-same-site]
'
group:* = [-unsupported-same-site]SameSite=None