This is a migrated thread and some comments may be shown as answers.

Filter Sessions with Cookies

1 Answer 289 Views
Windows
This is a migrated thread and some comments may be shown as answers.
pg
Top achievements
Rank 1
pg asked on 31 May 2018, 12:28 PM

Hello

I want to see only the sessions that set or read cookies, I guess I need a script for that ?!  Any hints are usefull.

Thanks Michael

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 01 Jun 2018, 11:07 AM
Hi,

You can filter the requests that send cookies with adding this implementation to the "OnBeforeRequest" method in the FiddlerScript editor. 

if (oSession.oRequest.headers.Exists("Cookie"))
{
oSession["ui-color"]="red";
oSession["ui-customcolumn"] = oSession.oRequest["Cookie"];
}
else
{
oSession.Ignore();   
}

Regards,
Dimitar
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Windows
Asked by
pg
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or