I am trying to save values into a Profile on Page1, then redirect to Page2 and access those values. However, after the page redirects the profile values are blank as if they were never saved. When stepping through the code I can see that they are being save on Page 1.
I suppose I could use session variables to store the information but I don't understand why saving the profile doesn't work.
private void PayWithPayPal()
ProfileCommon profile = this.Profile;
if (Global.CurrentUserName.Length > 0)
profile = this.Profile.GetProfile(Global.CurrentUserName);
profile.FirstName = uxFirstNameShipping.Text;
profile.LastName = uxLastNameBilling.Text;
profile.ShippingAddress.AddressLineOne = uxAddressLineOneShipping.Text;
profile.ShippingAddress.AddressLineTwo = uxAddressLineTwoShipping.Text;
profile.ShippingAddress.City = uxCityShipping.Text;
profile.ShippingAddress.State = uxStateShipping.Text;
profile.ShippingAddress.ZipCode = uxPostalCodeShipping.Text;
protected void Page_Load(object sender, EventArgs e)
View Complete Post