protected void btnLogin_Click(object sender, EventArgs e) { brUser = new BrUser(); string data = txtUserBackend.Text + '|' + txtUserPassword.Text; string req = brUser.LoginUserBackend(data); if (req != "1") { Response.Redirect("BackEnd.aspx"); } Session["backendLogin"] = "******"; Session["userBack"] = txtUserBackend.Text.Trim();; Response.Redirect("MenuBackend.aspx"); }