August 4, 2001
ColdFusion Administrator supports three locking modes for some scopes (for example, APPLICATION). Using Full Checking all scope access is checked, and an error is thrown if no lock is used. But this option may only be used if locking by SCOPE. If you are locking by NAME you may not use this option,...
August 3, 2001
CLIENT variables are one of the ColdFusion variable types that may be used to maintain client session state. In addition to any variables you create within the CLIENT scope, there are six variables that always exist: CFID contains the client ID, CFToken contains the client token, HitCount contains...
August 2, 2001
The most ambitious Web applications generate content designed specifically for the capabilities of the client computer - things like using the full browser size, and picking appropriate colors. How do they do this? By accessing special User Agent CGI variables, all of which begin with HTTP_UA. But...
August 1, 2001
ColdFusion Studio scripts may be written in both JScript (kind of like JavaScript) and VBScript. Is there a difference between them? Actually, yes there is. There are several methods (like GetImageSize()) that accept parameters passed by reference - something JScript cannot do. For these methods...
July 31, 2001
ColdFusion Studio (and indeed HomeSite) features a complete scripting environment that may be used to extend or modify the application as you see fit. Scripts are written in VBScript or JScript and are usually assigned to buttons for execution. But when you are testing your scripts configuring...
July 30, 2001
If your application uses client-side caching, then you may find that during debugging you need to override caching (forcing a reload). In Internet Explorer you can do this by pressing Ctrl while Refresh is clicked. In Netscape use Shift and Reload. (Applies to: ColdFusion All)
July 29, 2001
generated graphs may contain grid lines, but instead of specifying the interval you must specify the number of lines to be displayed (excluding the bottom line). So, if you were graphing from 1% to 100% and wanted a line at each 25% you'd need to specify GRIDLINES="3". (Applies to: ColdFusion 5 or...
July 28, 2001
Using to create bar or area charts? allows you to specify a scale to be used, but remember, the scale range (specified in SCALEFROM and SCALETO) must be numeric only. (Applies to: ColdFusion 5 or later)
July 27, 2001
Nested Custom tags allow you to create tag families - parent tags with associated child tags. Usually data is pushed from child tags up to parent tags for processing, but if you find that you need to access parent data from within child tags, use the GetBaseTagData() function within the child tag....
July 26, 2001
Creating an array that is expected to have hundreds of elements? Arrays usually grow as needed, and dynamic resizing takes times. You can use the ArrayResize() function as soon as the array is created (with ArrayNew()) to set the array to an initial size in one step saving precious resources....