---
title: Enable RFC Compliant Cookies
description: When true, values that are not valid RFC 6265 cookie-values are dropped from Set-Cookie headers. When false (the default), such values are emitted in double quotes, as in earlier agent releases. Control characters are always rejected.
component: web-agents
version: 2026
page_id: web-agents:properties-reference:com.forgerock.agents.config.cookie.rfc.compliant.enable
canonical_url: https://docs.pingidentity.com/web-agents/2026/properties-reference/com.forgerock.agents.config.cookie.rfc.compliant.enable.html
llms_txt: https://docs.pingidentity.com/web-agents/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
---

# Enable RFC Compliant Cookies

When `true`, values that are not valid RFC 6265 cookie-values are dropped from Set-Cookie headers. When `false` (the default), such values are emitted in double quotes, as in earlier agent releases. Control characters are always rejected.

Enable [Encode Special Characters in Cookies](com.sun.identity.agents.config.encode.cookie.special.chars.enable.html) to properly encode values that do not conform to RFC 6265.

Default: `false`

|                    |                                                                                             |
| ------------------ | ------------------------------------------------------------------------------------------- |
| Property name      | `com.forgerock.agents.config.cookie.rfc.compliant.enable`   Introduced in Web Agent 2026.11 |
| Function           | Cookies                                                                                     |
| Type               | Boolean: `true` returns true; all other strings return `false`.                             |
| Bootstrap property | No                                                                                          |
| Required property  | No                                                                                          |
| Restart required   | No                                                                                          |
| AM console         | Tab: `Advanced`Title: `Enable RFC Compliant Cookies`                                        |
