Cookie Parameter Regex
HTTP Large
HTTP Small
ADN
Purpose: Checks the cookies associated with each request for the specified regular expression.
Note: This match condition requires HTTP Rules Engine - Advanced Rules. This component of HTTP Rules Engine must be purchased separately. Contact your CDN account manager to activate it.
This match option defines a cookie name and value. Regular expressions may be used to define the desired cookie value. The Matches/Does Not Match option determines the conditions under which this match option will be satisfied.
- Matches: If this option has been selected, then the request must contain the specified cookie and its value must match the pattern defined in the specified regular expression.
- Does Not Match: If this option has been selected, this match option will be satisfied if either of the following conditions are true:
- The request does not contain the specified cookie.
- The request contains the specified cookie, but its value does not match the specified regular expression.
Key information:
- Regular expressions and special characters, including an asterisk, are not supported when specifying a cookie name. This means that only exact cookie name matches are eligible for comparison.
- Only a single cookie name can be specified per instance of this match option.