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.

<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

Usage: Optional

Default value: None

Example: To add the ‘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

Parent topic: [cookies-attributes] stanza