Example #1
0
 public static bool CheckLogin()
 {
     if (Value == "ck")
     {
         return(LoginCookie.CheckLogin());
     }
     else
     {
         return(LoginSession.CheckLogin());
     }
 }
Example #2
0
 public static void Logout()
 {
     if (Value == "ck")
     {
         LoginCookie.Logout();
     }
     else
     {
         LoginSession.Logout();
     }
 }