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

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

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