Putting a password login page in frontpage

hi all..

can someone teach me on how to write a login page using frontpage to validate against AD or SQL??
LVL 4
airnikeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hhammashCommented:
Hi,

Using the DRW.

01- Create a page which has a form.  
The form should have the following fields:
UserName
Password

The form should post to ValidateLog.asp

02- Save the form as Login.asp

03- Create an Access database in which you put a table called users and have the following two fields at leat in it:
UserName
Password

04- Save user info in the table

05- Create a new ASP page and save it as ValidateLog.asp

06- In ValidateLog.asp normal view select Insert>Database Results

07- In step 1/5 select the database that you created

08- In step 2/5 select the table that you created

09- In step 3/5 select the two fields UserName and Password by clicking edit button

10- In step 3/5 click more optiosn

11- In Criteria select UserName=UserName,  the select Password=Password
Note:  Change the message that says "no records returned" to whatever you like.

12- Go ahead to step 4/5 and select List - One field per item

13- In step 5/5 uncheck the optoin that says "Add Search form"

14- Finish

15- Save the ValidateLog.asp again

Now in the two yellow sections of the DRW you can Add the links that you want

When you run the form,  type password and user name and submit,  the page will send the username and password tot he drw and the drw will check the values against the data and display the links,  otherwise it will display the message "no records returned" , or the message you put.

Regards
hhammash
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hhammashCommented:
In the form don't forget to check the options "yes" next to password field

0
hhammashCommented:
0
airnikeAuthor Commented:
ty man!
0
hhammashCommented:
You are welcome airnike
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.