コード例 #1
0
ファイル: CPLogin.cs プロジェクト: mrreddevil2412/tokhaiyte
 public static void Logout()
 {
     // Session.Remove("IMEXsoft.Dashboard");
     Cookies.Remove("IMEXsoft.Dashboard");
 }
コード例 #2
0
        public static bool Exists(string key)
        {
            key = "OBJ_" + key;

            return(Cookies.Exists(key));
        }
コード例 #3
0
ファイル: CPLogin.cs プロジェクト: mrreddevil2412/tokhaiyte
 private static void SetLogin(int userId)
 {
     // Session.SetValue("IMEXsoft.Dashboard", userId);
     Cookies.SetValue("IMEXsoft.Dashboard", userId.ToString(), Core.Web.Setting.Mod_AdminTimeout, true);
 }
コード例 #4
0
        public static void Remove(string key)
        {
            key = "OBJ_" + key;

            Cookies.Remove(key);
        }