---
title: Enable Cookie Reset
description: When true, the agent resets (blanks) cookies in the response before redirecting to authentication by issuing a Set-Cookie header to the client. An example header could be similar to this:
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.cookie.reset.enable
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.sun.identity.agents.config.cookie.reset.enable.html
---

# Enable Cookie Reset

When `true`, the agent resets (blanks) cookies in the response before redirecting to authentication by issuing a Set-Cookie header to the client. An example header could be similar to this:

`Set-Cookie myCookie= ; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:00 GMT; Domain=.my.default.fqdn`

If [FQDN Default](com.sun.identity.agents.config.fqdn.default.html) is set, the agent sets the cookie domain to the domain specified by the property. Otherwise, the agent leaves the cookie domain blank.

Default: `false`

|                    |                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------- |
| Property name      | `com.sun.identity.agents.config.cookie.reset.enable`   Introduced in Web Agent 4.x |
| Function           | Cookies                                                                            |
| Type               | Boolean: `true` returns true; all other strings return `false`.                    |
| Bootstrap property | No                                                                                 |
| Required property  | No                                                                                 |
| Restart required   | No                                                                                 |
| AM console         | Tab: `SSO`Title: `Enable Cookie Reset`                                             |
