Exemple #1
0
 public static void Logout()
 {
     Cookies.Remove("Web.Login");
 }
Exemple #2
0
 public static void SetLogin(int webUserID, bool savepass)
 {
     Cookies.SetValue("Web.Login", webUserID.ToString(), savepass ? 0 : 120, true);
 }
Exemple #3
0
        public static void Remove(string Key)
        {
            Key = "OBJ_" + Key;

            Cookies.Remove(Key);
        }
Exemple #4
0
        public static bool Exists(string Key)
        {
            Key = "OBJ_" + Key;

            return(Cookies.Exists(Key));
        }
Exemple #5
0
 public static void Logout()
 {
     Cookies.Remove("CP.UserID");
 }
Exemple #6
0
 public static void LogoutOnWeb()
 {
     Cookies.Remove("CP.UserIDOnWeb");
 }
Exemple #7
0
 private static void SetLoginOnWeb(int user_id)
 {
     Cookies.SetValue("CP.UserIDOnWeb", user_id.ToString(), Setting.Mod_CPTimeout, true);
 }