protected void Session_Start(Object sender, EventArgs e) { // If its not the LifeguardData.aspx file, then register the Session Start as a Visit. if (0 != string.Compare(Request.AppRelativeCurrentExecutionFilePath, "~/LifeguardData.aspx", true)) { RequestStatisticService service = (RequestStatisticService)Statistic.GetService(typeof(RequestStatisticService)); service.AddVisit(Context); } }