asp database passwords

Results 1 to 2 of 2

Thread: asp database passwords

  1. #1
    Join Date
    Dec 1969

    Default asp database passwords

    Hi,<BR><BR>does any one know where I can find an asp code that will access a database of passwords only using one field ie: no username required just a password.<BR><BR>many thanks<BR><BR>Jo Warren<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default where... the username supposed to come from then?<BR><BR>If you will only have one or the other, doesn&#039;t it make more sense to have a DB of usernames and forget the passwords, instead of vice versa???<BR><BR>Anyway, the code is the same. Just leave out the test for the username and include only the test for the password.<BR><BR>SQL = "SELECT * FROM table WHERE [password]=&#039;" & Request("Password") & "&#039;"<BR><BR>

Posting Permissions

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