October 13, 2000
The ParameterExists() function checks to see if a variable exists, so does IsDefined(). But IsDefined() is far more powerful and flexible, and should be used instead of the older ParameterExists() function. You can use IsDefined() anywhere you used ParameterExists(), but there is one important...
October 12, 2000
Need to temporarily remove a line or two of code while testing your CF app? Comment the code out by putting after. The code between those comment tags will not be processed by ColdFusion. (Applies to: ColdFusion All)
October 11, 2000
Finding yourself working with lots of APPLICATION or SESSION variables? Instead of creating lots of individual variables within those scopes, consider creating structures and putting your variables within them. This will greatly reduce the risk of variable overwriting, and will help keep your code...
October 10, 2000
ColdFusion should be running on a dedicated box running nothing else (other than the operating system and HTTP server, of course). So that ColdFusion has access to all the resources possible, make sure that no other unnecessary applications, services, or daemons are running (many are installed and...
October 9, 2000
The APPLICATION.CFM file is often used to define application wide (or global) variables that are visible to all code. However, Custom Tags do not process the APPLICATION.CFM file, so code within Custom Tags will not have access to these variables unless you explicitly pass them as attributes. You...
October 8, 2000
ColdFusion developers use the CreateODBCDate(), CreateODBCTime(), and CreateODBCDateTime() extensively when working with dates and times in SQL statements - but those functions may not work if you are using native database drivers because those drivers may not understand the ODBC date format. If...
October 7, 2000
Having trouble getting ColdFusion to access files and directories on other servers on your network? It is likely a rights related problem. When ColdFusion is installed on NT (or Windows 2000) it is installed with standard system service access - this allows ColdFusion to access the server it is on,...
October 6, 2000
Trying to check tag sets to verify that they match correctly? Simply place your cursor in any tag and press Ctrl-M (for match). Studio will jump to the matching tag, and will jump back again if you press it again. If there is no match, or you end up on the wrong tag, you'll have found a coding...
October 5, 2000
and can often be used interchangeably. But if you find yourself writing long lists of statements, you might want to use might not be worth it), but as that list grows can be as much as 7 times faster than . (Applies to: ColdFusion 4 (or later))
October 4, 2000
Prior to ColdFusion 4.5 there was no simple way to send multiple e-mail attachments using the tag. In CF 4.5 that tags MIMEATTACH attribute still only supports a single attachment, but you can use multiple tags to attach multiple attachments. (Applies to: ColdFusion 4.5 (or later))