Create a local variable so that you can store and reference variable values on a page.
As shown in the variable scope table above, a local variable's scope is local. This means that a local variable is only valid for the application page on which it is created.
Use the CFSET tag to create a ColdFusion local variable and assign it a value. The CFSET tag is one of the most frequently used CFML tags. You can use it to initialize a variable with a text string, numeric value, another variable, or the results of an expression. You can also use it to overwrite an existing variable's value.