public static void Logout() { Cookies.Remove("Web.Login"); }
public static void SetLogin(int webUserID, bool savepass) { Cookies.SetValue("Web.Login", webUserID.ToString(), savepass ? 0 : 120, true); }
public static void Remove(string Key) { Key = "OBJ_" + Key; Cookies.Remove(Key); }
public static bool Exists(string Key) { Key = "OBJ_" + Key; return(Cookies.Exists(Key)); }
public static void Logout() { Cookies.Remove("CP.UserID"); }
public static void LogoutOnWeb() { Cookies.Remove("CP.UserIDOnWeb"); }
private static void SetLoginOnWeb(int user_id) { Cookies.SetValue("CP.UserIDOnWeb", user_id.ToString(), Setting.Mod_CPTimeout, true); }