This is a discussion on "databases, usernames and passwords.." within the Classic ASP section. This forum, and the thread "databases, usernames and passwords.. are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
databases, usernames and passwords..
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
databases, usernames and passwords..
i'm very new to asp and this is probably very basic so bear with me!!!
i have a database holding usernames and passwords. how do i check whether both a username and a passwords sent by "post" from a form are in the database in the same record? for example, a form with: username: password: and then to check whether the username is there and whether the password matches it... can anyone help? please? |
|
|
|
#2
|
|||
|
|||
|
It's actually an SQL Statement... Where you connect to Table Where User = "Username"
Then you check if recordSet("Password") = Request.Form("Password") . Can ya get it from there? Or do you still need help? |
|
#3
|
||||
|
||||
|
as I said, i'm ver new - can u still give me help please? much appreciated
|
|
#4
|
||||
|
||||
|
I think you are looking for something like this:-
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| databases, usernames, passwords |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SQL needed to compare usernames | AdRock | Databases | 2 | Sep 20th, 2007 11:10 |
| passwords | simon2233 | PHP Forum | 5 | Apr 1st, 2007 23:19 |
| md5 passwords | scottw | PHP Forum | 2 | Jan 14th, 2007 15:07 |