ASP.Net/Response/Response Log

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

Append To Log (VB.net)

<%@ Page Language="vb" %>
<html>
   <head>
      <title>Adding an HTTP Header in ASP.NET</title>
      <script runat="server">
         Sub Page_Load()
            Response.AppendToLog("Hello from Page_Load and nfex.ru!")
            Message.Text = "Message written to IIS Log!"
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>