Posted on: 12/20/2010 12:34:54 AM | Views : 207

Long ago I implemented the Login control on a login page and I thought all was working.  Testing has revealed that if you first enter an incorrect password but then next enter the correct password, the Login control fails to log the user in until they enter the correct password a second time.  This is unacceptable.
So I began investigating what is wrong and quickly discovered that Membership.ValidateUser(username, password) is failing to return true even though I'm entering the correct credentials.  I've done much research and discovered that plenty of other developers have experienced the same problem.  As of yet, I have not found a solution to my particular problem so I thought I should try seeing if I could get an answer here.
In web.config here is the pertinent info related to Memberships:
<membership defaultProvider="CustomizedMembershipProvider">       <prov ...

Go to the complete details ...