How will I be able to send the password to the user's email id, when he or she selects forgot password?

It's a crucial part of my project, please let me know how can i retrieve it?

Recommended Answers

All 2 Replies

The usual methods of storing passwords aren't reversible, so the only option is resetting the password. You can then either email the new password to your users and give them the option of changing it, or invalidate the password and force them to change it rather than risk sending a temporary password in the clear.

For security reasons, the latter option is preferred.

commented: +1 for you posting in the C# forum :) +14

Thank you!

Will go with the second option only.

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.