ASP PW question.. i think

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default ASP PW question.. i think

    Is there somewhere that might have a code example for a user that forgot
    their password?/ and maybe get it mailed ot them?? Like maybe, have them
    choose a question to answer, when they register, then they can answer that
    question if they forget it, and if correct, the PQW will et amiled to them?
    Or something similiar to this process.
    Anyone have any direction they can point me to on this one?
    Thanks
    FP


    +FarmerPickles Guest

  2. Similar Questions and Discussions

    1. Newbie Question: Biz Card Template Question
      Hi, I got the Pagemaker PlugIn - I am using one of the templates for Business Cards - the elements appear to be grouped (bound box all around when I...
  3. #2

    Default Re: ASP PW question.. i think

    You may want to check for a script like that here:

    HotScripts.com
    [url]http://www.hotscripts.com[/url]

    Planet Source Code
    [url]http://www.planet-source-code.com[/url]

    Best regards,
    J. Paul Schmidt, Freelance ASP Web Consultant
    [url]http://www.Bullschmidt.com[/url]
    ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Bullschmidt Guest

  4. #3

    Default Re: ASP PW question.. i think

    For starters - where are you storing the password? In a database? What
    database? in Active Directory? etc.

    There's probably heaps of code samples if you use google...

    Cheers
    Ken

    "+FarmerPickles" <gig_bam@verizon.net> wrote in message
    news:eV3c%232WJEHA.1944@TK2MSFTNGP10.phx.gbl...
    : Is there somewhere that might have a code example for a user that forgot
    : their password?/ and maybe get it mailed ot them?? Like maybe, have them
    : choose a question to answer, when they register, then they can answer that
    : question if they forget it, and if correct, the PQW will et amiled to
    them?
    : Or something similiar to this process.
    : Anyone have any direction they can point me to on this one?
    : Thanks
    : FP
    :
    :


    Ken Schaefer Guest

  5. #4

    Default Re: ASP PW question.. i think

    yes.. i am storing in an access DB, that contains all the user info for a
    golf team reporting system.
    FP

    "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    news:eFJwdHcJEHA.2456@TK2MSFTNGP12.phx.gbl...
    > For starters - where are you storing the password? In a database? What
    > database? in Active Directory? etc.
    >
    > There's probably heaps of code samples if you use google...
    >
    > Cheers
    > Ken
    >
    > "+FarmerPickles" <gig_bam@verizon.net> wrote in message
    > news:eV3c%232WJEHA.1944@TK2MSFTNGP10.phx.gbl...
    > : Is there somewhere that might have a code example for a user that forgot
    > : their password?/ and maybe get it mailed ot them?? Like maybe, have
    them
    > : choose a question to answer, when they register, then they can answer
    that
    > : question if they forget it, and if correct, the PQW will et amiled to
    > them?
    > : Or something similiar to this process.
    > : Anyone have any direction they can point me to on this one?
    > : Thanks
    > : FP
    > :
    > :
    >
    >

    +FarmerPickles Guest

  6. #5

    Default Re: ASP PW question.. i think

    So, have a form which the user can enter their username into.

    Then, you do a lookup in the database to see if there is a matching
    username, eg:

    <%
    strUsername = Replace(Request.Form("txtUserName"), "'", "''")

    strSQL = _
    "SELECT Email, UserPassword " & _
    "FROM Users " & _
    "WHERE Username = '" & strUserName & "'"

    Set objRS = objConn.Execute strSQL
    arrResults = objRS.GetRows

    objRS.Close
    Set objRS = nothing

    objConn.Close
    Set objConn = Nothing

    If not isArray(arrResults) then
    ' User Does Not Exist
    ' Display Error Page
    Else
    ' User Does Exist
    ' Use CDONTS or CDOSYS
    ' to generate email to: arrResults(0,0)
    ' and set message to contain password: arrResults(1,0)
    Response.Redirect("passwordSent.asp")
    End If
    %>

    Cheers
    Ken


    "+FarmerPickles" <gig_bam@verizon.net> wrote in message
    news:OIqvsIdJEHA.3104@TK2MSFTNGP10.phx.gbl...
    : yes.. i am storing in an access DB, that contains all the user info for a
    : golf team reporting system.
    : FP
    :
    : "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    : news:eFJwdHcJEHA.2456@TK2MSFTNGP12.phx.gbl...
    : > For starters - where are you storing the password? In a database? What
    : > database? in Active Directory? etc.
    : >
    : > There's probably heaps of code samples if you use google...
    : >
    : > Cheers
    : > Ken
    : >
    : > "+FarmerPickles" <gig_bam@verizon.net> wrote in message
    : > news:eV3c%232WJEHA.1944@TK2MSFTNGP10.phx.gbl...
    : > : Is there somewhere that might have a code example for a user that
    forgot
    : > : their password?/ and maybe get it mailed ot them?? Like maybe, have
    : them
    : > : choose a question to answer, when they register, then they can answer
    : that
    : > : question if they forget it, and if correct, the PQW will et amiled to
    : > them?
    : > : Or something similiar to this process.
    : > : Anyone have any direction they can point me to on this one?
    : > : Thanks
    : > : FP
    : > :
    : > :
    : >
    : >
    :
    :


    Ken Schaefer Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139