---
title: Manage sessions
description: For information about IG sessions, refer to Sessions. Change IG session properties in the following ways:
component: pinggateway
version: 2023.11
page_id: pinggateway:maintenance-guide:managing-sessions
canonical_url: https://docs.pingidentity.com/pinggateway/2026/maintenance-guide/managing-sessions.html
llms_txt: https://docs.pingidentity.com/pinggateway/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: 2023-09-19T08:48:14Z
keywords: ["Maintenance", "Configuration", "Sessions"]
superseded_by: https://docs.pingidentity.com/pinggateway/2026/maintenance-guide/managing-sessions.html
---

# Manage sessions

For information about IG sessions, refer to [Sessions](../about/about-sessions.html). Change IG session properties in the following ways:

| Mode               | To change the session properties                                                                                                                                                                                                                                                                                                                               |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Stateless sessions | Configure the [JwtSession](../reference/JwtSession.html) object in the route that processes a request, or in its ascending configuration.For example, define the `cookie` property to configure the IG session name.```json
{
  "name": "JwtSession",
  "type": "JwtSession",
    "config": {
      "cookie": {
        "name": "MY_SESSIONID"
    }
  }
}
``` |
| Stateful sessions  | Change the `session` property in `admin.json`, and restart IG.For example, add the following lines to `admin.json` to configure the IG session name:```json
"session": {
    "cookie": {
      "name": "MY_SESSIONID"
    }
  }
```                                                                                                                            |
