When you decide to implement a user authentication The process of protecting a web site by requiring a user to enter an authorized ID and password before entering the site system for your site, the first step to take is to create a way for users to create accounts. This is the user registration process, which usually contains an insert transaction A transaction is a group of SQL statements whose effects are logically connected. Anything from simple queries to inserting, and deleting operations can be considered a transaction, as well as more complex groups of several statements which accomplish a specific task. (to add the user data into a table) together with some checks to make sure the user name is not taken, and that the confirmed password matches the entered passwords. MX User Login gives you the possibility of doing all of these actions in a single place, with the User Registration Wizard.
The User Registration Wizard is accessible from two locations:
In order to be able to use the wizard, you must have MX Send E-mail installed, either as a separate product, or as part of the MX Kollection 3 bundle. Also, if you have MX Form Validation, a third step of the wizard will be available, allowing you to validate the form elements.
To set the dialog box options for the first step of the wizard, follow the instructions below:
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.
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.
The five buttons in the lower part of the interface offer the following functionalities:
· With the < Back / Next > buttons you can navigate through the wizard's steps.
· Click Finish when you are done configuring the wizard.
· Click Cancel to exit without the new settings to be applied.
· The Help button brings you to this help page.
These buttons appear in all the User Registration Wizard steps.
In the second step of the wizard, you will associate for each table column the form element to be displayed. To set the dialog box options, follow the instructions below:
When you finish with the wizard configuration, it will add the HTML form, a Send E-mail trigger A trigger is a SQL procedure that performs an action when a transaction (INSERT, UPDATE, DELETE) occurs. You can use triggers to perform validation of input data, to automatically generate a value for a newly inserted row, to read from other tables for cross-referencing purposes, or to support alerts through e-mail messages. and a Throw error trigger. When you open the page in the browser, and try to register, the wizard will perform several actions: