How to dump ASP.NET Request headers to string

前端 未结 4 645
暗喜
暗喜 2020-12-08 03:39

I\'d like to email myself a quick dump of a GET request\'s headers for debugging. I used to be able to do this in classic ASP simply with the Request object, but Reque

4条回答
  •  既然无缘
    2020-12-08 04:22

    You could turn on tracing on the page to see headers, cookies, form variables, querystring etc painlessly:

    Top line of the aspx starting:

    <%@ Page Language="C#" Trace="true" 
    

提交回复
热议问题