Click here to Skip to main content
15,900,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using asp.net membership for my web application.I need my users to choose their own secret question and answer in a separate page after their successful login.
What is the method to insert the secret question and answer into database using asp.net membership?
Posted

1 solution

hi,

You can do one thing.

using
Dim msuser As MembershipUser = Membership.GetUser(Username)

you can get PasswordQuestion and Answer by msuser object.

On your separate page after login check passwordquestion and answer with this object. If match than go further else show message.
 
Share this answer
 
Comments
abi1988 17-Jan-11 3:19am    
i can get PasswordQuestion and Answer from msuser object.But how can i get password?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900