public static bool CheckLogin() { if (Value == "ck") { return(LoginCookie.CheckLogin()); } else { return(LoginSession.CheckLogin()); } }
public static void Logout() { if (Value == "ck") { LoginCookie.Logout(); } else { LoginSession.Logout(); } }