protected void Application_Start(Object sender, EventArgs e) { string path = ConfigurationManager.AppSettings["logPath"]; if (path != null && path.Length > 0) { Logger.LogPath = path; Logger.WriteLine(""); Logger.WriteLine("#############################################################################"); Logger.WriteLine(iLabGlobal.Release); Logger.WriteLine("ISB Application_Start: starting"); } RefreshApplicationCaches(); ticketRemover = new SBTicketRemover(60000); ticketRemover.ProcessIssuedTickets(); }
protected void Application_Start(Object sender, EventArgs e) { string path = ConfigurationSettings.AppSettings["logPath"]; if (path != null && path.Length > 0) { Utilities.LogPath = path; Utilities.WriteLog(""); Utilities.WriteLog("#############################################################################"); Utilities.WriteLog(""); Utilities.WriteLog("ISB Application_Start: starting"); } // The AuthCache class is defined in the Authorization AuthCache.GrantSet = InternalAuthorizationDB.RetrieveGrants(); AuthCache.QualifierSet = InternalAuthorizationDB.RetrieveQualifiers(); AuthCache.QualifierHierarchySet = InternalAuthorizationDB.RetrieveQualifierHierarchy(); AuthCache.AgentHierarchySet = InternalAuthorizationDB.RetrieveAgentHierarchy(); AuthCache.AgentsSet = InternalAuthorizationDB.RetrieveAgents(); ticketRemover = new SBTicketRemover(); }