Ben Forta

Blog

January 1, 2002

Verity Results Size Limit

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

Programmatic Performance Data

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

One Database Multiple Datasources

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

Deleting Cookies

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

Determining The Executed SQL Statement

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...

December 27, 2001

Securing Local Only Pages

Have code that should only ever be executed locally by the server itself (and not be client requests)? You can protect these pages by simple enclosing all the code within a statement like this: ... . (Applies to: ColdFusion All)

December 26, 2001

Explicitly When Using

Within a block all variables and expressions are parsed and evaluated. True? Actually, no, not exactly. This only occurs if the expressions are in the same file, but if a is used inside of a block, that is not honored within the included code, and a separate will be needed within the included file....

December 25, 2001

Indexing XML Data

The new Verity search engine (included with CF5) can safely index XML data - intelligently parsing the data from tags. For files to be indexed as XML data (instead of as straight text) the files must have a .xml extension. (Applies to: ColdFusion 5)

December 24, 2001

Readable Graph Legends

Have a containing an unreadable legend? The problem is likely the length of one or more of the legend descriptions. Shorten the text and the legend will be resized dynamically so as to better display the content. (Applies to: ColdFusion 5)

December 23, 2001

and Flash

can generate graphs as Flash movies - the benefits of which are the small load size as well as the interactivity. The generated Flash content is Flash version 3 so as to be compatible with all Flash players from version 3 on (in other words, just about every copy out there). (Applies to: ColdFusion...

Page 442 of 489 (4885 posts)