<%@ Page Language="vb" %> <html> <head> <title>Displaying the HTTP headers collection in ASP.NET</title> </head> <body> <% Response.Write(Request.Headers) Request.SaveAs((Request.PhysicalApplicationPath & "HTTPRequest.txt"), True) Request.SaveAs((Request.PhysicalApplicationPath & "HTTPRequest_NoHeaders.txt"), False) %> </body> </html>