Exemplo n.º 1
0
        public JsonResult OnGetIsActive()
        {
            var isActive = SessionStateHelper.IsUpdatedRecently(HttpContext.Session);

            return(new JsonResult(new
            {
                IsActive = isActive
            }));
        }