Send a link to Change Password to the User

Posted by Nkkppp under ASP.NET on 10/9/2012 | Points: 10 | Views : 1498 | Status : [Member] | Replies : 1
Hi All,

Note: 'I am not using Membership.

On the login page I would like to place a Forgot Password link. So when the User clicks on the link Email Address and Username will be entered which will be verified in the database.

Then a link is send to the User for the <b>ChangePassword.aspx</b> which will expire in one day.

How to Create this link which is secure.

Thanks & Regards,


Posted by: lakhansin-22735 on: 7/9/2013 [Member] Starter | Points: 25


You are trying to send this change password link through email correct, then in database where you have store all the user detail add one more column and save the link with queryString which is sent to the user. And maintain the expiry condition at database level e.g. check whether the request sending date has been over by 1 day or 2 day whatever.

The link probably like this

Whereas, here 123 is the random ID generated for the specific user.

Hope, somehow this idea will help you at some level.


Lakhan Singh
Tech Lead
BeyondKey System Pvt. Ltd.
Indore, M.P.

Nkkppp, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response