
January 25th, 2004, 10:41 PM
|
|
Registered User
|
|
Join Date: Jan 2004
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Need ASP / MS ACCESS CODE for PASSWORD Validation
Hello,
I am searching for .ASP code that will accomplish the following (and precise) task:
User will type in his/her username and password (which I have already stored in an MS Access 2000 database) and will then press submit on a "userlogin.asp" page.
Using a "loginvalidation.asp" page, the username and password submitted will be validated against an MS Access 2000 database named "products.mdb". This database has a table named "customers" and 5 or 6 fields. Two of these fields are named "username" and "password". The database is located in a secure folder separate from my other .ASP pages on my hosting company's server. The platform is Windows 2003.
If either the username or password entered are incorrect, the same "userlogin.asp" page with the words "Password Incorrect - Please Re-Enter" will come up. If both the username and password entered are correct, a "viewproducts.asp" page will come up. My "viewproducts.asp" page has already been created. However, when this page comes up, I want the url that shows up in the browser to be dynamic (I'm not sure what you call this, but I want the url to include a string of characters and also make it impossible for someone to enter this secure page without password validation - I need to know how to accomplish this).
I would really appreciate help. I've been banging my head against the wall for 2 or 3 days. All the examples I've seen so far do not resolve the specific task I'm trying to accomplish.
Greg
|