Home
Up
ASP Links
ASP Formmail Script
Hit Counters
Using CGI/Perl
File Permissions
Password Protection
Simple Password Script
ASPSecured
ASPLogin
ASPLogin Cheat Sheet
ASPLogin Tips

 

 

 Advanced Topics FAQs   

ASPLogin Cheat Sheet


PART 1: ADD THE ASP LOGIN FILES TO YOUR WEB SITE

  1. Download ASP Login and unzip the files
     
  2. Copy these files to your root directory (main folder on your site):
     
    • aspladmn.asp
    • asplogin.asp
    • aspldeny.asp
       
  3. Copy the asplogin.mdb database file to a directory called /fpdb
     
  4. Create a file named global.asa containing the following scripting and place it in your root directory.

    <SCRIPT LANGUAGE=VBScript RUNAT=Server>
    Sub Application_OnStart
    Application("COOKIE_EXP_DAYS") = 7
    End Sub
    Sub Session_OnStart
    Session("asplConnStr")="Driver={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("fpdb/asplogin.mdb") & ";"
    End Sub
    </SCRIPT>

    IMPORTANT: Use a text editor like NOTEPAD to create it, NOT FRONTPAGE.

  5. Upload everything to your web hosting account with FrontPage or FTP

 

PART 2: SET UP WRITE ACCESS TO YOUR ASPLOGIN DATABASE ON THE SERVER

  1. Open your Internet web site with FrontPage
    (This is the site that resides on your hosting account on an Acme Internet web server, not on your computer)
  2. Click TOOLS -> WEB SETTINGS -> DATABASE
  3. Click ADD
  4. Leave the default name that appears in the Name Field as-is
  5. Click "FILE OR FOLDER IN CURRENT WEB"
  6. Click BROWSE
  7. Select the asplogin.mdb file in your /fpdb folder and click OK
  8. CLICK OK again to create the new database connection
    You will now see your new database connection listed in the database tab of the 'Web Settings' menu with a ? Question Mark next to it
  9. Select your new database connection and CLICK VERIFY
  10. CLICK OK to finish and exit the 'Web Settings' menu



PART 3: TEST YOUR ASPLOGIN FILES

  1. Go to http://www.yoursite.com/aspladmn.asp in a web browser
  2. Enter the default login info which is

    username: Admin
    password: Admin
    (uppercase A in both)


If you are able to successfully login to your ASPLogin Administration page, you have succeeded.

Now proceed to the ASPLogin documentation for detailed instructions on
applying password protection to your pages and using the ASPLogin Administration features.

Online documentation and support is available at:  http://www.asplogin.com


PART 4: THE DISCLAIMER

Click here for important tips, troubleshooting and support information

Send this page

     TOP | HOME  | CONTACT

                          © Copyright 2005 Acme Internet. All rights reserved.