May 21, 2001
Want to know if a specific function is supported in your ColdFusion installation? Use the GetFunctionList() function which returns a structure containing the entire supported function list. You can loop through this structure with , and access it using all the Struct functions. (Applies to:...
May 20, 2001
Want to know how long it is taking to execute requests on your ColdFusion Server? Check the Avg Req Time (Average Request Time) counter in PerfMon (Windows) or cfstat (Unix). This counter tracks the ongoing average response time of all requests, and the lower the number the better. And the actual...
May 19, 2001
You should always be monitoring system response time to gauge whether or not users are leaving your site because it is taking too long to respond. One of the most important tools used to gather this information is performance monitoring (using PerfMon or cfstat). The Queued Requests counter will...
May 18, 2001
The SetLocale() function is used to set the active locale so that dates, numbers, and currencies may be correctly displayed in local formats. In a multi-locale application the SetLocale() function must be called in every request to set the locale for that specific request, and when processing has...
May 17, 2001
The SQL LIKE operator can be used to perform free form searches against text in table columns. But LIKE is not fast, especially if searching for sub-strings (using wildcards at the start of the search text). For faster full text searching use ColdFusion's integrated Verity engine which can be used...
May 16, 2001
The ColdFusion CGI.HTTP_USER_AGENT variable contains a client identification string - text submitted by the web browser (or any other client). You may inspect this variable to determine what browser is being used (Netscape, Internet Explorer, etc.) and even non Web browsers (for example, WAP...
May 15, 2001
Working with large files? You can place bookmarks in strategic locations in the code to facilitate rapid return to those locations. To set a bookmark (or to remove one) click Ctrl-K, to jump between bookmarks click Ctrl-Shift-K. (There are also menu options for these under Edit). (Applies to:...
May 14, 2001
Unless ColdFusion add-on components (like CFX tags) are multi-thread safe, concurrent access to them should be prevented. This can be accomplished using , ensuring that all calls to the components use the same lock name. (Applies to: ColdFusion 4 (or later))
May 13, 2001
By default, ColdFusion Studio lists all Web files in the File tab. To change the filter (to include just documents, just images, or all files) right click in the File window, and select Filter. (Applies to: ColdFusion Studio All)
May 12, 2001
Non-printable characters in your code could cause problems - generating strange error codes that can be difficult to track down. ColdFusion Studio can help you find these extraneous characters. Simple click the Show Hidden Characters button (in the Editor Toolbar) to display all characters, even...