Mega Code Archive

 
Categories / ASP.Net Tutorial / ASP Net Instroduction
 

Global application file (C#)

Use  this file to define global variables. React to global events (such as when a web application first starts). <%@ Application Language="C#" %> <script runat="server">     protected void Application_OnEndRequest()     {         Response.Write("<hr>This page was served at " +           DateTime.Now.ToString());     }         </script>