January 6, 2002
WDDX, and the tag, can be used to pass structured data between ColdFusion (on the server) and JavaScript (on the client). When using this capability, the name of the JavaScript variable to be created on the client should be passed to the TOPLEVELVARIABLE attribute. (Applies to: ColdFusion 4 or...
January 5, 2002
By default, SESSION variables persist until a specified timeout interval - even if the client browser is closed and then reopened. To change this behavior you must replace the CFID and CFTOKEN cookies so that they are SESSION cookies (they'll expire when the browser session is closed). To do this,...
January 4, 2002
Cookies set using can be made available to an entire domain if that domain is specifically provided in the DOMAIN attribute. Specified domains must begin with a period (the . character). (Applies to: ColdFusion All)
January 3, 2002
A utility named mkvdk is provided with ColdFusion to facilitate the creation and maintenance of Verity collections beyond that which is possible using CFML tags. mkvdk (provided with both the Windows and Unix versions of ColdFusion) can be used on the command line, as a ColdFusion scheduled event,...
January 2, 2002
is used to cache dynamically generated pages (to improve performance on subsequent requests). Internally makes HTTP calls to retrieve the page to be saved, and by default HTTP is used and not HTTPS. If you are caching a secure page (one that is retrieved using HTTPS) you must use the PROTOCOL...
January 1, 2002
Query results returned from are limited to 64K in size. This should rarely be a problem, but if you have a very large Verity collection and are doing very broad searches you could run into this limitation and generate an error. For this reason it is advisable to wrap calls with / blocks. (Applies...
December 31, 2001
The GetMetricData() function returns real time performance data and statistics for use within your code. GetMetricData() requires that a mode be passed to it specifying the data to be returned. PERF_MONITOR returns a structure containing the information available in Windows Performance Monitor,...
December 30, 2001
Some datasource settings are best suited for specific types of queries, while others might be better suited for other queries. For example, support for long text might be needed for some retrieval operations, but if used when not needed performance will suffer. For this reason it is often...
December 29, 2001
is used to define and update cookies. What tag do you use to delete cookies? You use the same tag - just set EXPIRES="now" to force it to be expired (deleted). (Applies to: ColdFusion All)
December 28, 2001
SQL statements within a tag are often generated dynamically, and although ColdFusion knows what the final SQL is (and can display it within the page debug output) there is no way for ColdFusion developers to obtain this information. The workaround? Build the dynamic SQL as a variable (essentially a...