Ben Forta

Blog

June 25, 2001

Creating Function Libraries

User defined functions (UDF's) are made available to your code in one of two ways - they are either typed directly into the CFM file in which they are used, or they are put into libraries (CFM files containing one or more UDF's and nothing else) which are then included using . From a code reuse...

June 24, 2001

Is That a Custom Function?

With the introduction of ColdFusion 5 and user defined functions you'll be seeing lots of new functions in ColdFusion code. So how to tell if a function is a BIF (Built In Function) or a UDF (User Defined Function)? Use the new IsCustomFunction() function, pass it a function name (not in quotes)...

June 23, 2001

Working with Multiple Time Zones

Working with dates and times in multiple time zones? Then you may want to normalize those dates to simplify comparisons and other operations. The DateConvert() function converts dates and times to and from Universal Coordinated Time (or UTC). You can also use GetTimeZoneInfo() to obtain information...

June 22, 2001

Faster UDF Initialization

Within user defined functions (UDF's) there is often the need to initialize variables, saving strings or complex data in them. If there is a chance that a UDF will be called more than once per request, consider putting these variables in the REQUEST scope and initialize them just once (checking...

June 21, 2001

Managing Old Log Files

ColdFusion log files grow rapidly making browsing them slow and tedious. Using the Log Files screen in the ColdFusion Administrator you may delete log files (so that a new one is created when needed), or archive them (saving them with an alternate extension so that you may browse them later if...

June 20, 2001

Debugging and Static IP Addresses

ColdFusion embeds debug output at the bottom of generated pages, and this output is typically restricted by requester (client) IP address. If you have a static IP address (perhaps because you are using DHCP) then you'll need to turn on (and off) debugging each time you obtain a new address. The...

June 19, 2001

Help With Administration

The ColdFusion Administrator now includes extensive context-sensitive help. To access this help, simple click the help icon at the top right of every Administrator screen. (Applies to: ColdFusion 5)

June 18, 2001

Releasing Cached Data Source Connections

ColdFusion caches data source connections to improve data access performance. To release all cached connections for all data sources (forcing them all to be reopened) go to the ColdFusion Administrator Connection Summary page, and click the Release button. (Applies to: ColdFusion 5)

June 17, 2001

Careful When Flushing

is used to flush the generated output buffer sending content to the client application on demand. In doing so, ColdFusion must also send all page headers with the first call, and any tags that manipulate headers may therefore not be used after that first . So, among others, no , no , and even no ....

June 16, 2001

Simplifying Building Complex Variables

If you have ever found yourself building and appending data to variables incrementally, take a look at the new tag. Simply specify a variable name, and anything in between and is saved to that variable, even if you are using others tags and functions. (Applies to: ColdFusion 5)

Page 461 of 489 (4885 posts)