<CFPARAM NAME="param_name"
    DEFAULT="value">

CFPARAM is used to test for a parameter's existence and optionally provide a default if it is not found.

NAME

The name of the parameter you are testing (such as "Client.Email" or "Cookie.BackgroundColor"). If you omit the DEFAULT attribute, an error occurs if the specified parameter does not exist.

DEFAULT

Optional. Default value to set the parameter to if it does not exist.

Usage

There are two ways to use CFPARAM: