title: Timer on Server Side?
body: <p>I want to have a Timer to update the global variable like every 10 sec, so I put a timer in my Global.asax.cs:</p>
  
  <pre><code>void Application_Start(object sender, EventArgs e)
  {
      Timer aTimer = new Timer();
      aTimer.Interval = 10*1000;
      aTimer.Tick += aTimer_Tick;            
      aTimer.Start();
  }
  
  void aTimer_Tick(object sender, EventArgs e)
  {
      // Update Data
  }
  </code></pre>
  
  <p>But weird thing is nothing happen after 10 sec. I wonder if is possible to do it like that?</p>
  
  <p>Thanks in advance.</p>