Context.Trace.IsEnabled : Context « Session Cookie « ASP.Net






Context.Trace.IsEnabled

<%@ Page Language="vb" Trace="True" %>
<html>
   <head>
      <script runat="server">
  Sub Page_Load()
     Message.Text = "Trace Enabled? " _ 
    & Context.Trace.IsEnabled
  End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>

           
       








Related examples in the same category

1.Context.Items
2. Context.Items.Contains
3.Context.Timestamp
4.Context.SkipAuthorization
5.Context.IsDebuggingEnabled
6.Context.IsCustomErrorEnabled
7.Context.AddError
8.Context.Error
9.Context.User.Identity.IsAuthenticated
10.Context.GetConfig