I have a login page, where the user can login to enter a secure site. On the same page I have a link which says 'Register new password' on which the user can click and go to a page called 'registernewpassword.asp' where the user needs to make some valid entries to change the password.
User needs to enter these.
Username, oldpassword, newpassword, confirmnewpassword
if username and oldpassword dont match, it is redirected to the same page again.
if new password and confirmnewpassword don't match, then it is sent to the 'registernewpassword.asp' with a message on top saying 'Password mismatch'
The problem is when i click from the login page, to enter into 'registernewpassword.asp'
it opens up the page with the same message 'Password mismatch' which is supposed to show only when the user enters some wrong entries and then is redirected to the same page with the message.
Could some one help on this.
Thanks in advance.
User needs to enter these.
Username, oldpassword, newpassword, confirmnewpassword
if username and oldpassword dont match, it is redirected to the same page again.
if new password and confirmnewpassword don't match, then it is sent to the 'registernewpassword.asp' with a message on top saying 'Password mismatch'
The problem is when i click from the login page, to enter into 'registernewpassword.asp'
it opens up the page with the same message 'Password mismatch' which is supposed to show only when the user enters some wrong entries and then is redirected to the same page with the message.
Could some one help on this.
Thanks in advance.