---
title: Change the session cookie name
description: "Change the PingAM session cookie name from the default value to a unique identifier that doesn't reveal its purpose"
component: pingam
version: 8
page_id: pingam:security:change-name-of-SSO-cookie
canonical_url: https://docs.pingidentity.com/pingam/8.1/security/change-name-of-SSO-cookie.html
llms_txt: https://docs.pingidentity.com/pingam/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2026-06-01T14:34:20Z
keywords: ["Security", "Sessions", "Authentication", "Setup &amp; Configuration"]
page_aliases: ["security-guide:change-name-of-SSO-cookie.adoc"]
superseded_by: https://docs.pingidentity.com/pingam/8.1/security/change-name-of-SSO-cookie.html
---

# Change the session cookie name

By default, the session cookie name is `iPlanetDirectoryPro`.

You must change this value to something unique in your environment that does not give away its contents. Do not use names such as `sessionCookie`.

|   |                                                                                                                               |
| - | ----------------------------------------------------------------------------------------------------------------------------- |
|   | If you change the cookie name on a production system, you invalidate the sessions for any users who still had a valid cookie. |

1. In the AM admin UI, go to Configure > Server Defaults > Security > Cookie.

2. Change the name in the Cookie Name field.

3. Click Save Changes.

4. Restart AM or the container where it runs.

|   |                                                                                                                                                                                                                      |
| - | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | Web agents need to know the name of the session cookie to authenticate with AM. Learn more in [SSO token cookie name](https://docs.pingidentity.com/web-agents/2025.3/user-guide/cookie-reset.html#sso-cookie-name). |
