Using custom cookie transformation handlers | HCL Digital Experience

You can use custom cookie transformation handlers to allow custom program extensions to get programmatic control over the outbound HTTP connection.

About this task

You define custom cookie transformation handlers in a cookie rule. The interface provides two methods for getting programmatic control in the following two phases of the outbound HTTP connection:
  • Before the HTTP request header is sent to the remote connection. The transformation handler receives a cookie that applies to the cookie rule.
  • After the response header is read. The transformation handler receives a cookie that was set in a Set-Cookie header definition.
Application developers can use a custom cookie transformation handler to modify the name, path, domain, or value of the affected cookie, or to produce analytic or statistical information about the cookie.