Setting a cookie¶
A WAF rule with the Add Header action allows you to set a cookie instead of using an application. This method is suitable for the following use cases:
- Bot detection and challenge handling
- Traffic control
- Tracking
- Rate limiter
Action: Set a cookie via a header
For example, proceed as follows to set a cookie via a header:
- ► Select Request as the request method.
- ► Add the Add Header action.
- ► Enter
Cookieas the name. - ► Enter
ignorecdn=1as the value.
