Thursday, December 17, 2015

FormAuthentication Logout

        [AllowAnonymous]
        public void Logout()
        {
            FormsAuthentication.SignOut(); 

            FormsAuthentication.RedirectToLoginPage();
        }

No comments:

Post a Comment