Ejemplo n.º 1
0
        public void Check_Login()
        {
            string sUsername = Request["Username"];
            string sPassword = Request["Password"];

            if (session.Check_Account(sUsername, sPassword))
            {
                Response.Redirect("~/admin");
            }
            else
            {
                Response.Redirect("~/login");
            }
        }