---
title: Minimizing the PingAccess cookie size
description: Reduce the size of the PingAccess cookie if its size causes problems in your environment.
component: pingaccess
version: 8.1
page_id: pingaccess:troubleshooting:pa_minimizing_the_pa_cookie_size
canonical_url: https://docs.pingidentity.com/pingaccess/9.1/troubleshooting/pa_minimizing_the_pa_cookie_size.html
llms_txt: https://docs.pingidentity.com/pingaccess/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: June 1, 2023
superseded_by: https://docs.pingidentity.com/pingaccess/9.1/troubleshooting/pa_minimizing_the_pa_cookie_size.html
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Minimizing the PingAccess cookie size

Reduce the size of the PingAccess cookie if its size causes problems in your environment.

## About this task

The options presented here each reduce the PingAccess cookie size. Because the reduction amount depends on your environment, it can't be precisely quantified.

## Steps

* When configuring the web session, select the **Cache User Attributes** check box. This option caches user information for use in policy decisions instead of including it in the cookie. For more information, see [Creating web sessions](../pingaccess_user_interface_reference_guide/pa_creating_web_sessions.html) and [Editing and deleting web sessions](../pingaccess_user_interface_reference_guide/pa_editing_web_sessions.html).

* When configuring the site, clear the **Send Token** check box. This minimizes the amount of information forwarded to the site itself. For more information, see [Adding sites](../pingaccess_user_interface_reference_guide/pa_adding_sites.html), [Editing sites](../pingaccess_user_interface_reference_guide/pa_editing_sites.html), and [Site field descriptions](../pingaccess_user_interface_reference_guide/pa_site_field_descriptions_ref.html).

* When [Configuring admin UI SSO authentication](../pingaccess_user_interface_reference_guide/pa_configuring_admin_ui_sso_authn_task.html), clear the **Include id_token_hint in SLO** check box.

  |   |                                                                                                                                                                                                                                                                                                                      |
  | - | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  |   | If your token provider requires the `id_token_hint` parameter to complete single logout (SLO) *(tooltip: \<div class="paragraph">&#xA;\<p>The process of signing a user out of multiple sites where the user has started a SSO session.\</p>&#xA;\</div>)*, explore the other options to reduce cookie size instead. |

* When [Configuring OpenID Connect token providers](../pingaccess_user_interface_reference_guide/pa_configuring_oidc.html), clear the **Track token_id** check box.

  |   |                                                                                                                                      |
  | - | ------------------------------------------------------------------------------------------------------------------------------------ |
  |   | If you want to use the `id_token` attribute in an identity mapping or rule, explore the other options to reduce cookie size instead. |

* When [Configuring web session management settings](../pingaccess_user_interface_reference_guide/pa_configuring_web_session_management_settings.html), select the simplest algorithms: `ECDSA using P-256 Curve` for the **Signing Algorithm** and `AES 128 with CBC and HMAC SHA 256` for the **Encryption Algorithm**.

  |   |                                                                                                                               |
  | - | ----------------------------------------------------------------------------------------------------------------------------- |
  |   | This option isn't as impactful as the other options and might not be possible depending on your environment's security needs. |
