Set cookie

Adds a cookie to the response.

This action adds a cookie to the response returned to the client.

Configuration

  • Cookie name: The name of the cookie to set. This field is required.
  • Cookie value: The value to set for the cookie. This field is required.
  • Path: The path to which the cookie applies. The default path of / applies the cookie to all requests; setting a path limits the action to requests that match that path.
  • Max-Age: The time until the cookie expires, set as a number of seconds. The portal accepts a number of days, hours, minutes, or seconds and converts the total to seconds.

Behavior

When the conditions of the web control are met, the cookie is added to the response in a Set-Cookie header so that it is returned to the client. The same cookie is also added to the Cookie header of the request forwarded to the backend server, replacing any existing cookie of the same name there.

Have questions not answered here? Contact Support to get more help.

Last modified on November 18, 2026