public static void Remove(string Key) { Key = "OBJ_" + Key; Cookies.Remove(Key); }
public static void Logout() { Cookies.Remove("CP.UserID"); }
public static bool Exists(string Key) { Key = "OBJ_" + Key; return(Cookies.Exists(Key)); }
private static void SetLogin(int user_id) { Cookies.SetValue("CP.UserID", user_id.ToString(), Setting.Mod_CPTimeout, true); }