Esempio n. 1
0
        public ActionResult LogoutUser()
        {
            var redirectPage = 1068;

            if (HttpContext.Session != null)
            {
                SessionUtil.KillSession();
            }
            FormsAuthentication.SignOut();
            Roles.DeleteCookie();
            return(RedirectToUmbracoPage(redirectPage));
        }