Strange Error - "Object moved to here."
- by Dkong
I get the strange error "Object moved to here." on a blank white page when I try to login on a site I created. It works fine locally but not when I deploy it to the test or production server. I am not doing anything odd, just using basic authentication code in a helper function as follows...
public static bool AuthenticateUser(string Username, string Password, bool PersistLogin, string RedirectionURL)
{
if (Membership.ValidateUser(Username, Password))
{
FormsAuthentication.SetAuthCookie(Username, PersistLogin);
HttpContext.Current.Response.Redirect(RedirectionURL,true);
return true;
}
else
return false;
}