Ben Forta

Blog

June 4, 2002

Trace Code Problems

Debugging an application? Being able to write your own output along with the ColdFusion debug output would help significantly, and now you can do just that using . This new tag will dump variables and their contents, expressions, and more, into the debug output making application debugging a whole...

June 3, 2002

Sniffing Raw HTTP Data

ColdFusion MX (well, JRun running within ColdFuson MX, actually) comes with a sniffer utility that can be used to monitor HTTP traffic. The sniffer is in the runtime/bin directory, and is named "sniffer". (Applies to: ColdFusion MX)

June 2, 2002

Server Start and Stop Scripts

The BIN directory beneath the ColdFusion root contains batch files and scripts that can be used to stop and start ColdFusion from the command line. (Applies to: ColdFusion MX)

June 1, 2002

The Default Locale

ColdFusion uses locales to work with localized content and data. ColdFusion MX defaults the locale used by the JVM (and thus usually the operating system), unlike prior ColdFusion which defaulted to English (or Japanese, if that version of ColdFusion was being used). (Applies to: ColdFusion MX)

May 31, 2002

Dockable Debug Window

ColdFusion debug output appears at the bottom of generated pages. Right? Not anymore. While the "classic" format mimics the behavior of earlier ColdFusion's, switch to the new "dockable" format (in the ColdFusion Administrator) to use a popup DHTML based tree view in a window that can either float...

May 30, 2002

Setting Page Timeouts Explicitly

The default ColdFusion page timeout value is specified in the ColdFusion Administrator. Prior versions of ColdFusion allowed this value to be overridden using a URL parameter. In ColdFusion MX this value can be overridden using the tag and a new attribute named REQUESTTIMEOUT. The old...

May 29, 2002

Cached Pages Timeout

Pages cached with will persist until the cache is explicitly flushed unless the TIMESPAN attribute is specified. TIMESPAN takes a number of days (or partial days, such as ".5" for half a day). The CreateTimeSpan() function may be used to create the time span value. (The TIMEOUT attribute used in...

May 28, 2002

Access the Page Context

The new GetPageContext() function returns an objects providing access to the internal Java PageContext. Use this function to invoke Java methods like setAttribute() and getLocale(), as well as to execute include and forward methods. (Applies to: ColdFusion MX)

May 27, 2002

Checking XML Data

Working with XML? Three new functions will be of use to you. IsXMLDoc() checks whether or not an object is valid XML, IsXMLElement() checks whether or not a specified parameter is an XML element, and IsXMLRoot() checks whether or not a specified parameter is the document root. (Applies to:...

May 26, 2002

User Defined Function Named Arguments

Arguments (parameters) passed to a UDF are usually passed sequentially - unnamed and positional in a comma delimited list (like the way built in functions are called). UDF arguments may also be passed in a comma delimited list of name=value pairs, allowing for arguments to be passed in any order...

Page 427 of 489 (4889 posts)