Using the PasswordRecovery Control

If a user forgets her password, she can use the PasswordRecovery control to email herself her password. The PasswordRecovery control either sends the user’s original password or resets the password and sends the new password.

The page in Listing 26.34 contains a PasswordRecovery control.

Listing 26.34. ShowPasswordRecovery.aspx

images

images

After you open the page in Listing 26.34 in your web browser, you are first asked to enter your username (see Figure 26.15). Next, you are asked to enter the answer to the security ...

Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.