|
-
May 9th, 2001, 10:53 AM
#1
Thread Starter
Lively Member
Question RE: User Registrations and Database
How do you make a user registration form, sending the results to a database and then making a User Login page, taking the same results and comparing them, and if the User name and password match then you are logged in and if not then you are kicked out?
-
May 9th, 2001, 11:02 AM
#2
Member
I tend to use ADO to read and write the information from and to the database.
-
May 10th, 2001, 11:08 AM
#3
New Member
What kind of question is that? You must be some little private school with no life what-so-ever. Come back with a reasonable question, one where there is an answer.
-
May 10th, 2001, 11:20 AM
#4
PowerPoster
I answered this question in your other thread in the db forum. Just keep the usernames and passwords in a database, create a logon form, when the user enters his or her username and password, query the db for the password for the username, then compare:
Code:
"SELECT Password FROM TABLENAME WHERE Username = '" & txtPassword & "'"
If RS!Password = txtPassword then MsgBox "Logging in User..."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|