Author: dwebster84 | Posted on: 3/1/2010 11:50:02 AM | Views : 506

Working with C#, I want to register someone based on their text input into textboxes.  The textboxes where the password is entered twice use TextMode="Password".
I thought it would happen with the two lines below:

MembershipCreateStatus status;

            MembershipUser newUser = Membership.CreateUser(CustomerLoginTextBox.Text, Password1TextBox.Text, EmailTextBox.Text, PasswordQuestionTextBox.Text, PasswordQuestionTextBox.Text, false, out status);


I get a login failure when I try to login.
I looked at aspnet_Membership and aspnet_Users and it looked like the tables took all the data.  The name and email of the person I tried to register were there.

I tried registering a new user with the same password, this time using the ASP.NET register control and that worked.  I noticed that the password and password salt were different (between custo ...

Go to the complete details ...