Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: forgot password page
05-10-2012, 08:35 AM #1
- Join Date
- May 2012
- Thanked 0 Times in 0 Posts
forgot password page
i want to make forget password page using jsp where when the user will enter his/her email-id one mail will be forwarded to that mail-id with login details. I can't understand how to do it..please help me out..
05-10-2012, 01:34 PM #2
in the database the table would have a layout something like....
on login you would validate password against userid... you would need to store a variable somewhere- either a cookie, or pass it back, or something- there are countless solutions...
once that user has maxed out the attempts, or clicks the 'I Forgot' button you will simply ask for their username, validate that that user exists, something like (select [Email] from tbl_Users where [UserName] = @param) and then use something like this (google java email) to send an email to that person with whatever details you want.