Cookies issue in FiddlerScript

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

    Posted 22 May Link to this post

    Hello

    I need help with inserting cookies through FiddlerScript. I have cookies like below which contains " inside cookie value, when I remove " from cookie value I stopped getting response from server. Now the real problem is FiddlerScript doesn't consider any cookie value outside " if I am correct. Pls help in finding some solution for me.

    Cookie: session-id=135-0175204-4556648; session-id-time=2082787201l; lc-main-av=en_US; ubid-main-av=135-2827286-0395731; x-wl-uid=1byMobqIzbA4VmCWDwV79rNJ+wHLMoeuTgC5kyqO+APSg+c+Wv/UMMY6xi67XrlzDcPSHz6ggUE0HtDgMsaMNEjkwhH0hxcYmq39WpOvaAi+iexZWJAh0MNmbtCOWsI9ZBdN6DkJq0WA=; ubid-main=130-9054439-3296942; session-token=FysA2DXyj3MKW6pXFGI7OLqzeuZehd6AuMO5r6DV77zbngj5AAGRVyJqb7TgCoaEHvyGXEjN2KmZHU5HWFxM1laSBRdSy/uqqX6nz6vsWW0iHz6q6p2kU9M4NYrecfNq5VZs1RsX9caMLlP7b+nhBmWbb73glGwEEUqnOQxgqjeJ8OiwSY2conCzEjkxyDZT+CCBTKNoBpZtBgQgk4J3ZQlgjZcI36iojWXkPxjQ7TFBlOP8gjF++QOlwGyQ/rcgCj54iQL2dBP6VvRFq/4Fhw==; x-main="Wdyz3Dr1qSLl0KeISQtPRJJr1eBU7wRXq?oopMBnVYX8uUB644RDTiOXgRn95Uts"; at-main=Atza|IwEBIL0y3-FBtv0SsceSKry9ULstykIf3KPzd28lplv91oABbKlHGGo56bkbZyie0EPGtheFslrGOqcapUasp1ax14etVbx06Stv9ykbG69wS-9tqd4w7YVafZFgFIQbo1A9MO9uLka3MncKD1RL9jVYXAv1iybYXxlOITC1oGgUUBZoepHqT_mKSN1X24N3PAhaHdh2KcVHzNuZ5lxqCXAME7_HdD7PbAFYQz9Kjk8EB8dMhOgvgVEfv6RoCj1cErS4ER0mcWSk3nqBR-FlHnBnNGXtJ82UFuZDzZTWh4FRd5m82358PXvgiHjGN1XCgBCCA2ITvYeDWdOmbSHgNuMo7a5T2PdKdWQfbDt7gwcpAtw05qWS72vrDQScr4Y8iQfS8L9aJH8GYFlVS1uwlCaB28Bn; sess-at-main="wTo8DSETbB03DLqfYeuU/7au6DSM1U5CrWXfwEf3rzs="; sst-main=Sst1|PQGZ6j2tEk8hZEYlh-NDc5MFC1taqlntboO_UAL9cCzYGZ1kQkVo8EhMIw-artrDzOP2im_DyhyUpMflb3Jo14V2k9oLUp8uOtlSI7nWeqolroGPkq6XkuTfPVnu07ODxotRbvGdYdE8pn3OBXu1uaQuUDCKr2EhML52jKu6ffgjNWGDpQi5kq7SjOs_GA5yWJXx41amgvhGLxlbIM9MSnzoRGg5u0d1CSU_4Tsep_eoJSoEVN3_Ud6p12ywIOr8LsNvy2CEkLtfFy0xd7i8bFu2-UCZJZCcdDG08BW5Iw1IgQw7pTH7CW28vepB6xYTGGQZS9tWUP5hI43EIgRbsAtXJw; lc-main=en_US
  2. Dimitar
    Admin
    Dimitar avatar
    32 posts

    Posted 28 May Link to this post

    Hi,

    Could you, please, provide us with your FiddlerScript code, so we can further understand what the described issue is?

    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
  3. Data
    Data avatar
    2 posts
    Member since:
    May 2018

    Posted 02 Jun Link to this post

    here is the fiddlerscript code.

     

    oSession.oRequest["Cookie"] = (oSession.oRequest["Cookie"] + "; session-id=135-0175204-4556648; session-id-time=2082787201l; lc-main-av=en_US; ubid-main-av=135-2827286-0395731; x-wl-uid=1byMobqIzbA4VmCWDwV79rNJ+wHLMoeuTgC5kyqO+APSg+c+Wv/UMMY6xi67XrlzDcPSHz6ggUE0HtDgMsaMNEjkwhH0hxcYmq39WpOvaAi+iexZWJAh0MNmbtCOWsI9ZBdN6DkJq0WA=; ubid-main=130-9054439-3296942; session-token=uQj64CdqeEehLA72iSt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xd7i8bFu2-UCZJZCcdDG08BW5Iw1IgQw7pTH7CW28vepB6xYTGGQZS9tWUP5hI43EIgRbsAtXJw; lc-main=en_US; skin=noskin");

     

  4. Dimitar
    Admin
    Dimitar avatar
    32 posts

    Posted 04 Jun Link to this post

    Hi,

    You can try escaping the inner double quotes in the cookie value by putting [\] right before them.
    The backslash [\] escape character turns special characters into string characters.

    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