Posted on: 3/7/2011 1:08:24 AM | Views : 262

This did work at one time - I would enter the user, email & pwds and the user would be created. Now it doesnt seem to work.
protected void RegisterUser_CreatedUser(object sender, EventArgs e) { FormsAuthentication.SetAuthCookie(RegisterUser.UserName, true /* createPersistentCookie */); string continueUrl; continueUrl = "~/Profile/profilereq.aspx?MEMBERID=0"; if (String.IsNullOrEmpty(continueUrl)) { continueUrl = "~/"; } Response.Redirect(continueUrl); } When it is redirected, this isthe code --
 
if (!IsPostBack) { if (User.Identity.IsAuthenticated) { MembershipUser strThisUser = Membership.GetUser(); string strUserName; ...

Go to the complete details ...