QA.TechInterviews.com - your tech questions answered
How Do Login Forms Work On Websites? I Was Able To Make The Buttons But Now I Am Stuck?
I want my users on my website to be able to log in and view account information, and some other stuff, but I got stuck once i made the buttons, and the username/password fields. what am i supposed to link it to? some sort of data base? i am use front page 2003
Link it to a database and make it search the database for the username then check the password. If either are incorrect have them try again.
You need to send the values entered in Username/Password fields to another page that contains a script to check if the user is valid or not. to do that you can choose one of GET or POST methods that in this case, it would be POST. try sth like this:
You could just validate with a active script that contains the user id and password but that would be less than secure. It is best to use a script that validates against a database or secure password file on the server.
Link it to a database and make it search the database for the username then check the password. If either are incorrect have them try again.

Back to QA. TechInterviews.com. Powered by Yahoo! Answers and TechInterviews.com community.