Skip to content
Myra Online Help Updated · 21 Aug 2026

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

example_add_cookies_EN

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 Cookie as the name.
  • Enter ignorecdn=1 as the value.