Exemple #1
0
 protected void Session_Start(object sender, EventArgs e)
 {
     try
     {
         HttpContext.Current.Session[SessionKeys.ModuleCss] = new List <CssScriptInfo>();
         HttpContext.Current.Session[SessionKeys.ModuleJs]  = new List <CssScriptInfo>();
         ApplicationController objAppController = new ApplicationController();
         if (objAppController.IsInstalled())
         {
             HttpContext.Current.Session[SessionKeys.SageFrame_PortalID] = null;
             Session[SessionKeys.SageFrame_PortalID]      = null;
             Session[SessionKeys.SageFrame_PortalSEOName] = null;
             SessionTracker sessionTracker = new SessionTracker();
             if (sessionTracker != null)
             {
                 SessionLog sLog = new SessionLog();
                 sLog.SessionLogStart(sessionTracker);
             }
             HttpContext.Current.Session[SessionKeys.Tracker] = sessionTracker;
         }
     }
     catch
     {
     }
 }
        private void UpdateSessionTracker(SessionTracker sessionTracker, string sessionID)
        {
            SessionLog sLog = new SessionLog();

            sLog.SessionLogStart(sessionTracker, sessionID);
        }