title: Call function in aspx.cs page from global.asax
body: <p>i got code inglobal.asax page:</p>
  
  <pre><code>void Application_Start(object sender, EventArgs e) 
  {
      // Code that runs on application startup
      System.Timers.Timer timScheduledTask = new System.Timers.Timer();
  
      // Timer interval is set in miliseconds,
      // In this case, we'll run a task every minute
      timScheduledTask.Interval = 60 * 1000;
  
      timScheduledTask.Enabled = true;
  
      // Add handler for Elapsed event
      timScheduledTask.Elapsed += new System.Timers.ElapsedEventHandler(timScheduledTask_Elapsed);
  }
  
  void timScheduledTask_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
  {
      // Over here i want to call  function that i have in asp.net page 
  }
  </code></pre>
  
  <p>my problem here that  in <code>timScheduledTask_Elapsed</code> function, i want to call to function that i have in asp.net page (Contacts.aspx.cs).</p>
  
  <p>Any idea how to call this function??</p>