![]() ![]() ![]() |
||
|
The wizard generates or modifies the following files in the directory or site that you specify:
Application.cfc If this file does not exist, the wizard creates it with a single onRequestStart
method; it does not specify an application name or any other methods. If the file exists, but does not have an onRequestStart
method, it adds the method. If Application.cfc and the onRequestStart
method exist, the wizard inserts the required code at the beginning of the method. The resulting onRequestStart
method has a cfinclude
tag that specifies mm_wizard_application_include.cfm; it also has a simple form with a logout button, which will display at the top of each page in the application.
Note: If the wizard creates the Application.cfc file, you should, at least, change the file to specify the application name. For more information on Application.cfc, see Designing and Optimizing a ColdFusion Application.
mm_wizard_application_include.cfm The Login Wizard uses the information specified in the wizard fields to set several CFC method arguments. It then uses them to invoke the performlogin method of the master login CFC, mm_wizard.authenticate.
mm_wizard_authenticate.cfc This CFC contains all of the user authentication and login logic. The CFC consists of the following methods:
cflogin
tag, which displays the login form and calls the required authentication method. If the authentication methods return argument indicates a valid user, the method logs the user in. cflogin
tag will automatically use them and log the user in again.mm_wizard_login.cfm This file contains a ColdFusion MX login form. The wizard generates this file for all options, but does not use it if you specify Browser Dialog login.
index.cfm or mm_wizard_index.cfm The wizard generates an index.cfm page if the directory does not have one; otherwise, creates an mm_wizard_index.cfm page. These pages let you test the generated login code before you implement your application, or without using any of your standard application pages. To test your login, open the index.cfm page in your browser.
|
||
![]() ![]() ![]() |