Ignoring cookies in HttpRequests

natey

Posted on
May 07 2014

Error reports which occur within an httprequest automagically include all cookies from the request. I know I can ignore sensitive form/post vars, but I can't seem to work out how to ignore sensitive cookies (i.e. FormsAuth cookies)?


Callum

Posted on
May 13 2014

Sorry about the delay on this one - we've created an implementation which filters the cookie collection for Raygun4NET, and will be available in the next release for this provider later this week.

The API will be the same as ignoring sensitive form/post data - i.e. calling IgnoreFormDataNames and passing in an IEnumerable of strings representing the cookie keys and their values to be removed. This change also features an upgrade to the Raygun web app - once you grab the upcoming version of RG4NET, the cookie collection will appear in its own section in the Request tab.

I will update this thread when the new version is released.


Callum

Posted on
Jun 05 2014

Just a heads up, Raygun4NET now contains this feature and is ready for use.


Reply