---
title: Session Attribute Fetch Mode
description: Map session attributes to HTTP headers or HTTP cookies:
component: web-agents
version: 2026
page_id: web-agents:properties-reference:com.sun.identity.agents.config.session.attribute.fetch.mode
canonical_url: https://docs.pingidentity.com/web-agents/2026/properties-reference/com.sun.identity.agents.config.session.attribute.fetch.mode.html
llms_txt: https://docs.pingidentity.com/web-agents/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
---

# Session Attribute Fetch Mode

Map session attributes to HTTP headers or HTTP cookies:

`HTTP_COOKIE`: Map to HTTP cookies

`HTTP_HEADER`: Map to HTTP headers

Default: `NONE`

|                    |                                                                                             |
| ------------------ | ------------------------------------------------------------------------------------------- |
| Property name      | `com.sun.identity.agents.config.session.attribute.fetch.mode`   Introduced in Web Agent 4.x |
| Function           | Attribute processing                                                                        |
| Type               | Constrained Values: "http_header", "http_cookie", "none"                                    |
| Bootstrap property | No                                                                                          |
| Required property  | No                                                                                          |
| Restart required   | No                                                                                          |
| AM console         | Tab: `Application`Title: `Session Attribute Fetch Mode`                                     |
