Create Activation Page

There are two ways to automatically create a page for users to activate their account. The first is a checkbox in the User Registration Wizard. The second is applying the Create Activation Page server behavior from the Application panel, Server Behaviors -> + -> MX Kollection -> User Login -> Advanced -> Create Activation Page.

The following dialog box will appear:

 

Create Activation Page will generate an Update Transaction to change the value of the active column in your database table. Ideally, the active column should be a boolean type (Y/N).

Also, the generated activation page acts as a redirect The redirect server behavior loads a new site page after a transaction is executed. For instance, users could be automatically redirected to their inbox after they log in to the website. after the Update Transaction occurs. The user will be sent to either the login page, or they will be automatically logged in. This depends on whether or not a random key A random key is a randomly generated set of characters (alphanumeric) often used in online purchases. For example, if you buy a product, a random key is generated and set to you by email. Once you have the key, you can go back to the online shop, enter your key, and download the order the corresponds to your key has been set up in your database.

Below is a list of the server behaviors generated by the Create Activation Page server behavior:

 

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.

Related Topics