Request Save in ASP.NET : Save Request « Request « ASP.Net






Request Save in ASP.NET

<%@ Page Language="vb" %>
<html>
   <head>
      <title>Displaying the HTTP headers collection in ASP.NET</title>
   </head>
<body>

<p>

<%
   Response.Write(Request.Headers)

   Request.SaveAs((Request.PhysicalApplicationPath & "HTTPRequest.txt"), True)

   Request.SaveAs((Request.PhysicalApplicationPath & "HTTPRequest_NoHeaders.txt"), False)
%>

</p>

</body>
</html>
           
       








Related examples in the same category

1.Save request to a file (VB.net)