protected void btnLogin_Click(object sender, EventArgs e) { //TODO: Validation to be replaced with ProxyValidator Page.Validate("ChangePasswordGroup"); if (Page.IsValid) { OldShipUserInfo oldinfo = RegisterUserBLL.GetOldShipUserInfo(UserName, Password); if (oldinfo != null) { Session["OldShipUserInfo"] = oldinfo; Response.Redirect("~/UserRegistration.aspx"); } else { DisplayMessage("The Username and Password does not match a valid account.", true); } } }