AdobeStock_455007340

Never Assume a Variable Exists

Never ever assume that a variable exists, even if you wrote the code that passes that variable (perhaps as a URL parameter or a FORM field). To be safe, use a list of tags to initialize all variables. If they do indeed exist the tag will be ignored, so no downside, and lots of upside. (Applies to: ColdFusion 3 (or later))

Leave a Reply