ASPLogin Cheat Sheet
PART 1: ADD THE ASP LOGIN FILES TO YOUR WEB SITE
- Download ASP Login and unzip the files
- Copy these files to your root directory (main folder on
your site):
- aspladmn.asp
- asplogin.asp
- aspldeny.asp
- Copy the asplogin.mdb database file to a directory called
/fpdb
- 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.
- Upload everything to your web hosting account with
FrontPage or FTP
PART 2: SET UP WRITE ACCESS TO YOUR ASPLOGIN DATABASE ON
THE SERVER
- 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)
- Click TOOLS -> WEB SETTINGS -> DATABASE
- Click ADD
- Leave the default name that appears in the Name Field
as-is
- Click "FILE OR FOLDER IN CURRENT WEB"
- Click BROWSE
- Select the asplogin.mdb file in your /fpdb folder and
click OK
- 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
- Select your new database connection and CLICK VERIFY
- CLICK OK to finish and exit the 'Web Settings' menu
PART 3: TEST YOUR ASPLOGIN FILES
- Go to http://www.yoursite.com/aspladmn.asp in a web
browser
- 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
|