---
title: Session Cache TTL
description: The interval in minutes at which entries in the session cache timeout and are purged.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.session.cache.ttl.minutes
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.session.cache.ttl.minutes.html
---

# Session Cache TTL

The interval in minutes at which entries in the session cache timeout and are purged.

If an entry is not cached, the agent must retrieve session information from AM. Therefore, by default the timeout is much longer than for the policy cache.

|                          |                                                                                                                                                                                                                                                            |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.session.cache.ttl.minutes`                                                                                                                                                                                                           |
| Aliases                  | `org.forgerock.agents.session.cache.ttl.minutes`   Introduced in Java Agent 5.6`org.forgerock.openam.agents.config.active.session.cache.ttl.minutes`   Introduced in Java Agent 5.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7 |
| Function                 | Session                                                                                                                                                                                                                                                    |
| Type                     | Integer                                                                                                                                                                                                                                                    |
| Default                  | `3`                                                                                                                                                                                                                                                        |
| Bootstrap property       | Yes                                                                                                                                                                                                                                                        |
| Required property        | No                                                                                                                                                                                                                                                         |
| Restart required         | Yes - Restart the container after changing the property                                                                                                                                                                                                    |
| Local configuration file | `AgentBootstrap.properties`                                                                                                                                                                                                                                |
| AM console               | Tab: `Advanced (from AM 7)`Title: `Session Cache TTL`                                                                                                                                                                                                      |
