<%@ 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>
|