I have an extremely strange case, who could help me solve it, I have a website developed in vs2005, there is a front and a back, the back is web service and the front is aspx, the back is connected to the BD, good that as a summary. The extremely rare thing is that in the authenticate I have this code:
bool Authenticated = ServicioWeb.validar(txtUser.Text,txtpass.Text);
if (Authenticated)
{
Session["Usuario"] = txtUser.Text;
Response.Redirect("resCambio.aspx", false);
}
else
{
lblError.Text = "usuario no valido.";
}
As you can see is quite simple, the strange thing is that if the network from which I use the website is slow it shows the message of the path of false, if the network is 4g or higher the user can authenticate normally, eye that the back as the front are in the same server, but I do not understand why the slow networks are going through the false, the code of the validate method of the back is quite simpel only a select to the user.