Filter Sessions with Cookies

2 posts, 0 answers
  1. pg
    pg avatar
    1 posts
    Member since:
    May 2018

    Posted 31 May Link to this post

    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

  2. Dimitar
    Admin
    Dimitar avatar
    32 posts

    Posted 01 Jun Link to this post

    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
Back to Top