I am using password recovery control in forgotpassword.aspx page. by default the password recovery control validates the Login id and the security question of a particular user. I want to make the security answer as optional and for a user. I will be adding another validation field as PAN number. If user forgets his security answer he can provide his PAN number to get his password. He can either give his security answer or his PAN Number. Is it possible to make Security answer as optional input? I am using Upm Membership Provider. Is there any sample code for doing this... Helps is apprecated.

Member Avatar for LastMitch

I am using password recovery control in forgotpassword.aspx page. by default the password recovery control validates the Login id and the security question of a particular user. I want to make the security answer as optional and for a user. I will be adding another validation field as PAN number. If user forgets his security answer he can provide his PAN number to get his password. He can either give his security answer or his PAN Number. Is it possible to make Security answer as optional input? I am using Upm Membership Provider. Is there any sample code for doing this... Helps is apprecated.

You can read these to get an idea:

http://www.asp.net/web-forms/tutorials/security/admin/recovering-and-changing-passwords-cs

http://john.katsiotis.com/blog/asp.net-membership---change-password-without-asking-the-old

http://www.codeproject.com/Articles/15804/ASP-NET-2-0-Wizard-Control

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.