Example #1
0
 protected void DoLogin(object sender, EventArgs e)
 {
     Console.WriteLine("YUHUUU");
     utils.DbUtils db = new utils.DbUtils();
     if (db.findUser(username.Text, password.Text))
     {
         Console.WriteLine("YUHUUU FOUND");
         Session["username"] = username.Text;
         Response.Redirect("indexLogged.aspx");
     }
 }