AJH.CMS.Core.Data.UserManager.LogOut C# (CSharp) 메소드

LogOut() 공개 정적인 메소드

public static LogOut ( ) : void
리턴 void
        public static void LogOut()
        {
            HttpContext.Current.Session.Remove(CoreConfigurationManager._CoreConfigSectionHandler.SecurityElement.SessionCurrentFormKey);
            HttpContext.Current.Session.Remove(CoreConfigurationManager._CoreConfigSectionHandler.SecurityElement.SessionCurrentRoleKey);
            HttpContext.Current.Session.Remove(CoreConfigurationManager._CoreConfigSectionHandler.SecurityElement.SessionCurrentUserKey);
            HttpContext.Current.Session.RemoveAll();
            HttpContext.Current.Session.Abandon();
        }