Login Transaction

In order to build the login page, you can either use the wizard and do all operations in one place, or construct the page from pieces.

To build the login page from pieces, you must follow the next steps:

Access the server behavior from the Application panel, Server Behaviors -> + -> MX Kollection -> User Login -> Advanced -> Login Transaction.

 

The user interface has three tabs. Directions about their correct configuration are given below.

 

To set the dialog box options for the first tab, follow the next steps:

  1. The Connection, Table and Primary key column interface fields display the settings established in the login settings of the Control Panel. All login options are set globally.
  2. If you want to change any of these settings, click the Change Login Settings button and the control panel entry mentioned above will be displayed.
  3. In the First check variable drop-down menu select the variable type to use as a starter: URL Parameter, Form Variable, Cookie, Session Variable, Server Variable, Entered Value.
    In the associated text box enter the variable's name.
  4. The three buttons in the top right corner of the interface offer you the next functionalities:
    · Click OK when you are done configuring the server behavior.
    · Click Cancel to exit without the new settings to be applied.
    · The Help button takes you to this help page.
    These buttons appear on all three interfaces of the Login Transaction server behavior.

  5. Click on the Fields tab to continue with configuring the server behavior.
 

 
To set the dialog box options for the second tab, follow the next steps and associate table columns to form elements in page:
  1. The Username drop-down allows you to select the field containing the user name among all the text field elements in the page.

  2. The Password drop-down menu lists only the password type fields in the page's form.

  3. The Remember me drop-down menu lists all fields of type checkbox.

  4. Click on the Advanced tab to continue with configuring the server behavior.

 

 

To set the dialog box options for the third tab, follow the next steps:

  1. In the Transaction name text box enter an appropriate name for the transaction making sure it is unique on the page. By default, MX Kollection 3 assigns unique names to each transaction, and this setting should not be changed, unless you really know what you are doing.

  2. Click on the OK button to add the server behavior into the page.

Note: If you use this server behavior on the ColdFusion server model, a file named Application.cfm will be automatically generated in the site root folder. Do not delete this file, as it contains settings related to session variables used by the server behavior and the current application. If you remove this file or modify it, application pages that use sessions will not function properly.