예제 #1
0
        protected void Session_End(object sender, EventArgs e)
        {
            try
            {
                UserSessionInformation UserInfo = (UserSessionInformation)Session[SiteContext.USER_SESSION_INFO] ?? new UserSessionInformation();

                ReportDAO.UpdateLastPageUserWasOn(AppSettings.AllowPageReportRecording, UserInfo);
            }
            catch (Exception ex)
            {
            }
        }
예제 #2
0
        /// <summary>
        /// Record the users page exit time
        /// </summary>
        /// <returns></returns>
        public ActionResult Exit()
        {
            ReportDAO.UpdateLastPageUserWasOn(AppSettings.AllowPageReportRecording, SiteContext.UserSessionInfo);

            return(Content(""));
        }