protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); pr.CheckTimeInCart(); Timer t = new Timer(); t.Interval = 1_000 * 120; t.Elapsed += Elap; t.Start(); }