Check password answer

S

shapper

Hello,

How can I check, in ASP.NET 2.0 membership, if a given password answer
given by a user is the same as the one in the user record?

Thanks,
Miguel
 
G

Guest

One way is to make the secret question as a profile property (say
SecretAnswer) and then use Profile.SecretAnswer to the user-given value. The
password may not be encrypted while storing in the profile database.

Second option is to use the Membership API (Membership.ValidateUser()).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top