Last post May 25, 2012 01:39 PM by akiraan
May 09, 2012 08:23 AM|akiraan|LINK
I am using Password recovery control in asp.net. By default it sends the password as clear text to the user's mailbox.
My requirement is to send a link(which expires in 1 day) to the user's mailbox.
Pls help me in this.
May 09, 2012 01:46 PM|niceastham|LINK
I have never used this control, as i normally have to use a custom security model.
What will the link do? If the link should then direct the user to a page to show them the new password, this is bad practice as the password should not be stored in a readable or encrypted format.
If you could provide me with more details then i will try and help.
May 09, 2012 01:47 PM|niceastham|LINK
And when i say "not readable or encrypted", i mean it should be hashed which is one way ;)
May 09, 2012 01:57 PM|nijhawan.saurabh|LINK
May 10, 2012 05:01 AM|akiraan|LINK
The link will redirect to a page where the user can enter a new password.
The link which i am sending through Email must have a unique GUID which i can cross check before loading the page.
May 10, 2012 05:06 AM|akiraan|LINK
Thanks for the link. This is what i need exactly.
But i am looking for the code.
Can anyone provide the code for this?.
May 10, 2012 05:53 AM|nijhawan.saurabh|LINK
Here's a code sample.
About creating a link and sending it to the user, you can get the userid from the Database and use it to generate a unique number or generate a new GUID, store it somewhere with the userid and validate it when user comes to your website by clicking on the
May 25, 2012 01:39 PM|akiraan|LINK
I got the solution...