Ben Forta

Blog

July 20, 2001

Initialize all UDF Variables

Local variables within a User Defined Function (UDF) are defined using the var keyword. Variables must follow standard ColdFusion variable naming conventions and rules, and variables must be initialized with an initial value. So, VAR X is not allowed, but VAR X-"" is. (Applies to: ColdFusion 5 or...

July 19, 2001

Functions Must Return Values

Unlike Custom Tags, User Defined Functions (UDF's) return results, and the return value is not optional. Every UDF must end with the return keyword followed by the return value (which may be any expression). (Applies to: ColdFusion 5 or later)

July 18, 2001

Log File Format Changes

ColdFusion 5 introduced a new log file format which may cause problems if you are using third party log file analysis tools. If this is the case you can instruct ColdFusion to write log entries in the CF4.x format by selecting the Logging Settings screen in the ColdFusion Administrator's Tools tab....

July 17, 2001

Sorting Data Source Lists

Have a long list of data sources defined? Click on the titles above the Data Source Name and ODBC Driver columns (in the ColdFusion Administrator ODBC Data Sources page) to sort the lists as needed. But don't use these sort options after clicking the Verify All Connections or CF Administrator will...

July 16, 2001

Improved Full Text Searching

ColdFusion has included Verity search engine technology for a long time now, but new to ColdFusion 5 is the inclusion of Verity's new K2 Server. This high performance searching engine can dramatically improve the performance of searches performed using , and as such, is well worth configuring and...

July 15, 2001

Passing Functions to Functions

ColdFusion UDF's (User Defined Functions) can be passed to other functions as if they were variables. To pass a UDF to a UDF just refer to it by name (without the parenthesis). This allows you to create functions with callback functions (similar to C's pointers to functions). (Applies to:...

July 14, 2001

User Defined Functions in Custom Tags

By default, Custom Tags have no visibility into the caller space. This means that User Defined Functions (UDF's) in your code cannot be invoked from within Custom Tags in your page. The solution? If the UDF's are in a separate file use to include them right into the Custom Tag. If they are in the...

July 13, 2001

Monitoring System Throughput

The ColdFusion Administrator Throughput Report (under Tools, Server Reports) lets you monitor overall system performance giving you a snapshot of server activity and throughput including data in and out per second, average CPU and memory usage, and more. (Applies to: ColdFusion 5 or later)

July 12, 2001

Monitoring Timed Out Requests

The ColdFusion Administrator Timeout Requests Report (under Tools, Server Reports) lets you monitor the number of requests that have timed out (took to long to process). This information is useful in monitoring changes in system performance and load. (Applies to: ColdFusion 5 or later)

July 11, 2001

Monitoring Requests in Progress

The ColdFusion Administrator Requests in Progress Report (under Tools, Server Reports) lets you monitor the number of requests that are being processed (not queued) at any time. This information is useful in monitoring changes in system load. (Applies to: ColdFusion 5 or later)

Page 459 of 489 (4890 posts)