PingGateway 2024.6

Manage sessions

For information about PingGateway sessions, refer to Sessions. Change PingGateway session properties in the following ways:

Mode To change the session properties

Stateless sessions

Configure the JwtSession object in the route that processes a request, or in its ascending configuration.

For example, define the cookie property to configure the PingGateway session name.

{
  "name": "JwtSession",
  "type": "JwtSession",
    "config": {
      "cookie": {
        "name": "MY_SESSIONID"
    }
  }
}

Stateful sessions

Change the session property in admin.json, and restart PingGateway.

For example, add the following lines to admin.json to configure the PingGateway session name:

"session": {
    "cookie": {
      "name": "MY_SESSIONID"
    }
  }
Copyright © 2010-2024 ForgeRock, all rights reserved.