By explicitly defining the scope, you can skip this name resolution step and further improve performance. Also note that the session and application scopes are not in the name resolution list. These must be explicitly called. Use lower case for the scope, e.g., session. Use mixed case for variable names.
Mixed case makes the variable names easier to read.
Always use mixed case for all variable definitions and references. Use descriptive variable names not abbreviations. If you use descriptive variable names then the code will be much easier for others to read and for you to remember how it works yourself. Note that queries and variables cannot have the same name in the same ColdFusion template page. Match form field names to the corresponding database field name.