protected void btnAgree_Click(object sender, EventArgs e) { CurrentMember.AgreedToSignUpTerms = true; var membershipManager = new MembershipManager(); membershipManager.UpdateMember(CurrentMember); BaseReply reply = ExactTargetService.InvokeWelcomeToUnderstood(new InvokeWelcomeToUnderstoodRequest { PreferredLanguage = CurrentMember.PreferredLanguage, ToEmail = CurrentUser.Email, FirstName = CurrentMember.FirstName, RequestUrl = Request.Url }); //string url = MembershipHelper.GetNextStepURL(1); // send them to My Account, not into CMP string url = MyAccountItem.GetMyAccountPage().GetUrl(); // NOTE: temorarily commented out to prevent 404 redirect //if (Session[Constants.SessionPreviousUrl] != null) //{ // url = Session[Constants.SessionPreviousUrl].ToString(); //} //redirect based on interrupt this.ReturnRedirect(); //if no sign-up interrupt was set, redirect as normal Response.Redirect(url); }