AJLogin v3.7 FAQ by Adam Jarret adam@adamjarret.com http://www.adamjarret.com ============================= What is the database? ============================= The file named ajlogin.mdb is a Microsoft Access Database. All user information is stored in this file. ============================= Which values should I change in config.asp? ============================= You should set all the variables in config.asp to be appropriate to your site WITH THE EXCEPTION OF AJLoginVersion="3.7" which is clearly marked with the text: "Please do not change this string". All the other values in this page should be changed. For example sitename="RandomRavings" should be changed to something like sitename="YourSite" The config file has notes on each of the settings directly above the corresponding variable. THE MOST IMPORTANT VALUE TO CHANGE IS THE PATH TO THE DATABASE. IF THE SCRIPT CANNOT FIND THE DATABASE, IT WILL NOT FUNCTION. ============================= I moved my database to an offline folder. How do edit the path so the asp script can find it? ============================= Edit the dsn value in config.asp Assuming that the offline folder is c:\database, the new string would look like this: dsn = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\database\ajlogin.mdb" ============================= How do I protect a page? ============================= See readme.txt ============================= I followed the directions in readme.txt and the page is still unprotected! ============================= Does your server support classic ASP? Be sure to check with your web hosting service provider! ============================= My hosting provider supports classic ASP and the page is still unprotected! ============================= AJLogin can only protect pages with the .asp extension and will not protect pages with a .htm or .html extension. Assuming your web host supports ASP, there is usually no harm in renaming a .htm/.html file to .asp for the purposes of protecting it. WARNING: Renaming the files that make up your web site will cause links to those pages to break. ============================= Why does a page say "Error: ActiveX component can't create object: 'CDONTS.NewMail'" or "Error on Server.CreateObject" ============================= Your server most likely does not have CDONTS installed. Microsoft has officially replaced the CDONTS component with CDOSYS. An upcoming revision to AJLogin is in progress that will employ the new CDOSYS component. Until then, users who do not have CDONTS installed and wish to use any features of AJLogin which require the automated sending of e-mail need to manually replace code found in the send_e-mail.asp and send_e-mail_to_all.asp files. Two excellent articles on how to do this can be found at http://www.powerasp.com/content/new/sending_email_cdosys.asp and http://www.w3schools.com/asp/asp_send_email.asp ============================= Why does a page say "Microsoft JET Database Engine error '80004005' - Operation must use an updateable query." ============================= In most cases, this error is caused by incorrect permissions on the database file and/or the folder in which the database resides. Contact your web host and have them modify the permissions of the database and offline database folder, or set up a a new folder with the correct permissions.