public static void Logout() { // Session.Remove("IMEXsoft.Dashboard"); Cookies.Remove("IMEXsoft.Dashboard"); }
public static bool Exists(string key) { key = "OBJ_" + key; return(Cookies.Exists(key)); }
private static void SetLogin(int userId) { // Session.SetValue("IMEXsoft.Dashboard", userId); Cookies.SetValue("IMEXsoft.Dashboard", userId.ToString(), Core.Web.Setting.Mod_AdminTimeout, true); }
public static void Remove(string key) { key = "OBJ_" + key; Cookies.Remove(key); }