---
title: "How to Capture .NET Web Request Details on Exception"
slug: "errors-logs-capturing-web-request-details"
description: "Configure your app's sensitive data masking in Stackify! Learn how to unmask web request details like headers, cookies, and more for error analysis."
updated: 2020-07-17T17:06:58Z
published: 2020-07-17T17:06:59Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Capturing Web Request Details

By default, the following web request details are masked as they can contain sensitive data:

- Headers
- Server Variables
- Session Variables
- Cookies

However, you can configure your app to unmask any of these in your app's config file. Stackify will then retrieve information about these fields and list it in the Error Details page or in the "View Document" view for an error in your apps. To enable this, you will want to add the following keys into the appSettings section of your App/Web.config:

```
<appSettings>
    <add key="Stackify.CaptureErrorHeaders" value="true" />
    <add key="Stackify.CaptureServerVariables" value="true" />
    <add key="Stackify.CaptureSessionVariables" value="true" />
    <add key="Stackify.CaptureErrorCookies" value="true" />
</appSettings>
```
