---
title: Change the session cookie name
description: By default, the session cookie name is iPlanetDirectoryPro.
component: pingam
version: 8.1
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
keywords: ["Security", "Sessions", "Authentication", "Setup &amp; Configuration"]
page_aliases: ["security-guide:change-name-of-SSO-cookie.adoc"]
---

# 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). |
