---
title: Session state management
description: Session state management for authentication API adapters is no different than for regular adapters. The same mechanisms, such as SessionStateSupport and TransactionalStateSupport, are used to store and retrieve session attributes on behalf of a user.
component: pingfederate
version: 13.1
page_id: pingfederate:sdk_developers_guide:pf_sess_state_manage
canonical_url: https://docs.pingidentity.com/pingfederate/13.1/sdk_developers_guide/pf_sess_state_manage.html
llms_txt: https://docs.pingidentity.com/pingfederate/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: July 5, 2022
section_ids:
  related-links: Related links
---

# Session state management

Session state management for authentication API adapters is no different than for regular adapters. The same mechanisms, such as `SessionStateSupport` and `TransactionalStateSupport`, are used to store and retrieve session attributes on behalf of a user.

It should not be necessary to store more state attributes just to support the authentication API. The same session attributes should cover both API and non-API requests.

You can also wrap an API-capable adapter in a PingFederate-managed authentication session. PingFederate-managed authentication sessions mean that many adapters no longer need to provide their own internal session tracking.

## Related links

* [Developing authentication API-capable adapters and selectors](pf_develop_auth_api_capable_adapt_selec.html)
