Re: Checking for pre-existing passwords

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20622
interpreted = N
texte = On 10/22/98 11:09 AM Mike Eberly wrote >I have a form in which the customers enter their information along with >their password. I use the [append] context to add the password and >customer information to the db. What is the best way to test for >passwords that have previously been used by other customers? Can I use >[showIf] and then check the db to see if there are matching passwords? >Any suggestions[hideif notfound=[lookup db=yourdb.db&lookinfield=pass&value=password&returnfield=anyfield¬found= notfound]] [redirect oops.html](better yet redirect them to a form with all the values plugged in except the password or username. Or better yet make build this into this location right here and hide the rest of the page from the user. Then post the form to here again, this time maybe they will get the right username or password!) [/hideif]But why would you want to tell them that the password they want to use is being used by someone else? Instead ask them if that username exists and say sorry that user already exists, try a different username.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. Associated Messages, from the most recent to the oldest:

    
  1. Re: Checking for pre-existing passwords (Bob Minor 1998)
  2. Checking for pre-existing passwords (Mike Eberly 1998)
On 10/22/98 11:09 AM Mike Eberly wrote >I have a form in which the customers enter their information along with >their password. I use the [append] context to add the password and >customer information to the db. What is the best way to test for >passwords that have previously been used by other customers? Can I use >[showif] and then check the db to see if there are matching passwords? >Any suggestions[hideif notfound=[lookup db=yourdb.db&lookinfield=pass&value=password&returnfield=anyfield¬found= notfound]] [redirect oops.html](better yet redirect them to a form with all the values plugged in except the password or username. Or better yet make build this into this location right here and hide the rest of the page from the user. Then post the form to here again, this time maybe they will get the right username or password!) [/hideif]But why would you want to tell them that the password they want to use is being used by someone else? Instead ask them if that username exists and say sorry that user already exists, try a different username.Robert Minor _________________________________________________________________________ Cybermill Communications webmaster@cybermill.com 8616 Joseph Ave. http://www.cybermill.com St. Louis, MO 63144 (314) 962-4024 _________________________________________________________________________ Purveyors of fine websites and high bandwith. Colocation and domain hosting available. Bob Minor

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

New Plug-in and Type 11 errors (1997) test (2000) Counting LineItems (2000) [convertchars] Problem (2000) Help! WebCat2 bug (1997) return missing item (was:WebCat Sales) (1997) WebCatalog NT beta 18 problem (1997) FEW QUESTIONS (1997) Re:Copyright ? (1997) Navigator 4.01 (1997) Superfilous Characters (1998) Associative lookup style? (1997) Filling in fields conditionally (1998) Protecting Realms (1998) How To question on setting up downloads (1997) faxing orders (2000) still having shipCost.db Problem (1997) Just Testing (1997) Multiple fields on 1 input (1997) [OT] authenticate with email server (2004)