Cookie Parser Session Agent
To enable easy searching, the CookieParser session agent parses
cookies appearing after the HTTP_COOKIE value in the request into
name-value pairs. Cookie data is placed at the bottom of the request
in a section entitled [cookies]
The following is an example:
[cookies]
TLTSID=CF37A9C511D67E7F03003785F87C9647z0
TLTHID=CF37A9C511D67E7F03003785F87C9647
TLTUID=CC50ED7C11D67E1C90003B95BC7A8A27
SITESERVER=ID=3c576155747d32c21e27fa781a689ac7
TLT_NumCookies=4
TLT_CookiesBytes=165
Adding the Session Agent
Session agents can be added through the Pipeline Editor in TMS. See Adding a Session Agent.
- For more information on the Pipeline Editor, see "TMS Pipeline Editor" in the IBM® Tealeaf cxImpact Administration Manual.
Configuration Settings
The following configuration settings are available:
Display Name
values are displayed in TMS, which is the recommended method for configuring session agents. See "Tealeaf® Management System" in the IBM Tealeaf cxImpact Administration Manual.Name
values are displayed inTealeafCaptureSocket.cfg
.
Display Name | Name | Description |
---|---|---|
Cookie Delimiter |
CookieDelimiter |
Delimiter used in Cookies header. The default
value is ; . |
Extract |
Extract |
Allows for the extraction of sub-values from a
cookie value. The default value is YES . |
Fragment Delimiter |
FragmentDelimiter |
Used in conjunction with the Extract option, this
setting specifies cookie fragment delimiter. The default value is ` . |
URL Decode |
URLDecode |
Specifies if the cookie value should be URL-decoded.
The default value is YES . |
The remainder of this page describes configuration options
and how to change them through the TealeafCaptureSocket.cfg
file stored on the server. These settings are also available through
the Pipeline Editor, which is the recommended method for configuring
session agents.
Cookie Delimiter
The Cookie Parser allows users to denote their own cookie delimiter, which allows a wider range of cookie formats to be processed.
- If no delimiter is provided, then the semicolon (
;
) character is used. - If you use more than one character, the cookie parser uses only the first char in the string as the delimiter.
- Avoid Using Ampersand as a Delimiter
- To denote your own delimiter, add the following to the CookieParser
section of the configuration file:
CookieDelimiter=<somechar>
Avoid Using Ampersand as a Delimiter
Avoid using
the ampersand (&
) character as a delimiter. This
character is commonly used to denote fragments within a parent cookie,
such as the following:
HTTP_COOKIE=TLTUID=567683546&id=1234&page=0; TLTRUID=234567;
Which would typically result in the following:
TLT_NumCookies=2
TLT_CookiesBytes=48
TLT_NumCookieFragments=2
TLT_CookieFragmentBytes=15
However, using ampersand (&
) as
the delimiter generates the following:
TLT_NumCookies=3
TLT_CookiesBytes=48
TLT_NumCookieFragments=0
TLT_CookieFragmentBytes=0
Note the incorrect figures above.
Tealeaf Session Agents
- Adding a Session Agent
- Archive Session Agent
- "Attribute Indexing Session Agent" in the IBM Tealeaf CX Configuration Manual
- Canister Session Agent
- Cookie Parser Session Agent
- Data Drop Session Agent
- Data Parser Session Agent
- Decouple Session Agent
- Extended Decoupler Session Agent
- Extended Privacy Session Agent
- Health-Based Routing (HBR) Session Agent
- Inflate Session Agent
- JSON Mobile Parser Session Agent
- Managed Code Session Agent
- Null Session Agent
- Privacy Session Agent
- Real-Time Monitoring and Alert (RTA) Session Agent
- Response Tags to Request Session Agent
- RTA Split Session Agent
- Sessioning Session Agent
- Session Router Session Agent
- Socket Session Agent
- Statistics Logger Session Agent
- "Tealeaf Reference Session Agent" in the IBM Tealeaf CX Configuration Manual
- Tealeaf Reference Session Agent - Legacy Mode
- Tealeaf Sessioning Session Agent
- TimeGrades Session Agent
- TLI Session Agent
- URL Decode Session Agent