Solved

Putting a password login page in frontpage

Posted on 2004-10-28
2,413 Views
Last Modified: 2013-12-24
hi all..

can someone teach me on how to write a login page using frontpage to validate against AD or SQL??
0
Question by:airnike
    5 Comments
     
    LVL 14

    Accepted Solution

    by:
    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
     
    LVL 14

    Expert Comment

    by:hhammash
    In the form don't forget to check the options "yes" next to password field

    0
     
    LVL 14

    Expert Comment

    by:hhammash
    0
     
    LVL 4

    Author Comment

    by:airnike
    ty man!
    0
     
    LVL 14

    Expert Comment

    by:hhammash
    You are welcome airnike
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Prepare to Pass the CompTIA A+ 900 Series Exam

    CompTIA aims to adapt its A+ Certification to reflect the most current knowledge and skills needed by today's IT professionals--and this year's 2016 exam is harder than ever. This certification is one of the most highly-respected and sought after in IT.

    In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
    Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
    The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
    The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

    933 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now