Exemple #1
0
        public static void Remove(string Key)
        {
            Key = "OBJ_" + Key;

            Cookies.Remove(Key);
        }
Exemple #2
0
 public static void Logout()
 {
     Cookies.Remove("CP.UserID");
 }
Exemple #3
0
        public static bool Exists(string Key)
        {
            Key = "OBJ_" + Key;

            return(Cookies.Exists(Key));
        }
Exemple #4
0
 private static void SetLogin(int user_id)
 {
     Cookies.SetValue("CP.UserID", user_id.ToString(), Setting.Mod_CPTimeout, true);
 }