Click here to Skip to main content
12,944,121 members (49,537 online)
Rate this:
Please Sign up or sign in to vote.
See more:
What is the code of login form of change password forget password..
Posted 5-Jan-13 17:40pm
Sandeep Mewara 6-Jan-13 8:46am
It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it's not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

We can't say exactly based on the amount of info you have given us: i.e. nothing about your login system.

But the normal pattern is that the "lost or forgotten password" form resets a password to a random value, and sends the new value to the email at which the user registered. Advanced versions send a link to a password reset page to the email address so that the original is not affected unless the original user confirms he forgot his password. The reset page link contains a random code which must be used to confirm the identity. The password is then set to a random value and the random value emailed to the user.

The essence is to not reveal the "old" password (which you shouldn't be able to do since you shouldn't store it in text at any time) but to get confirmation that the user making the request is the actual user who owns the account - hence the email(s).
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,653
CHill60 2,970
Maciej Los 2,388
Jochen Arndt 1,900
ppolymorphe 1,765

Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100