Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2012
    Location
    Kolkata
    Posts
    6
    Thanks
    3
    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..

  • #2
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,722
    Thanks
    41
    Thanked 191 Times in 190 Posts
    in the database the table would have a layout something like....
    [UserName][Password][Email][fName][lName]

    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.

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •