protected void btnComprar_Click(object sender, EventArgs e) { _nameTraveler = nameTraveler.Text.Trim(); _lastnameTraveler = lastNameTraveler.Text.Trim(); _emailTraveler = emailTraveler.Text.Trim(); _phoneTraveler = phoneTraveler.Text.Trim(); string _codePhone = codePhone.Text.Trim(); string req2 = ""; //if (!string.IsNullOrEmpty(req2)) //{ var reg = _nameTraveler + "|" + _lastnameTraveler + "|" + _emailTraveler + "|" + _phoneTraveler + "|" + obj[1] + "|" + _codePhone; //Response.Redirect("PayType.aspx"); bool qwe = brUser.RegisterTraveler(reg); if (qwe == true) { Response.Redirect("TravelBenefits.aspx"); } //Response.Redirect("HistorialCompras.aspx"); }