---
title: Cookie Name
description: The name of the SSO token cookie. This cookie name is used if you have enabled Custom Login Mode or use Accept SSO Token mode and want to use a different cookie to the one defined in the realm.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.sun.identity.agents.config.cookie.name
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.sun.identity.agents.config.cookie.name.html
---

# Cookie Name

The name of the SSO token cookie. This cookie name is used if you have enabled Custom Login Mode or use Accept SSO Token mode and want to use a different cookie to the one defined in the realm.

If you do not use either of these modes, remove the default value. When empty, the agent retrieves the cookie name from the AM server to authenticate with AM.

Default: `iPlanetDirectoryPro`

|                    |                                                                            |
| ------------------ | -------------------------------------------------------------------------- |
| Property name      | `com.sun.identity.agents.config.cookie.name`   Introduced in Web Agent 4.x |
| Function           | Cookies                                                                    |
| Type               | String                                                                     |
| Bootstrap property | No                                                                         |
| Required property  | No                                                                         |
| Restart required   | No                                                                         |
| AM console         | Tab: `SSO`Title: `Cookie Name`                                             |
