Save values and use it thrught all subsequent redirect in Fiddler

30 Views Asked by At

I want to save a value in a variable and use it in following requests. How can I save data in a persistent way?

1

There are 1 best solutions below

0
Duccio Fabbri On

I solved my problem saving my data in a file and than I read it in the next request:

    var fso = new ActiveXObject("Scripting.FileSystemObject"),
    thefile=fso.CreateTextFile("C:\\temp\\bogusToken.txt",true);
    thefile.Write(token);
    thefile.Close();
    ...
    my_Token = File.ReadAllText("C:\\temp\\bogusToken.txt");