SHARE
TWEET

default.aspx

a guest Feb 20th, 2019 339 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <%@ Page Language="C#" AutoEventWireup="true" EnableSessionState="False" EnableViewState="False" EnableViewStateMac="False" %>
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml" >
  6. <head runat="server">
  7. <title>Header Dump</title>
  8. </head>
  9. <body>
  10. <form id="formHeaderDump" runat="server">
  11. <div id="divHeaderDump">
  12. <asp:Literal ID="litrlHeaderDump" runat="server" />
  13. </div>
  14. </form>
  15. </body>
  16. </html>
  17. <script runat="server">
  18. void Page_Load(object sender, EventArgs e)
  19. {
  20. Response.Cache.SetCacheability(HttpCacheability.NoCache);
  21.  
  22. foreach (string strKey in Request.Headers.AllKeys)
  23. litrlHeaderDump.Text += strKey + " = " + Request.Headers[strKey] + "<br />\n";
  24. }
  25. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top