December 27, 2000
ColdFusion provides special functions for creating dynamic variables (where the variable name is created dynamically). As of ColdFusion 4 it is possible to create dynamic variables using a simple by specifying a string (within quotes) as the variable name. For example, to create a variable in the...
December 26, 2000
ColdFusion Administrator should always be password protected. But what if you forget the password? There is no way to read the existing password, but if you has administrative access to the computer than you can turn off the password required flag (which will let you in to the Administrator without...
December 25, 2000
ColdFusion Studio (and HomeSite) supports all sorts of keyboard shortcuts (Ctrl-B=Bold, Ctrl-G=Go to line, F2=Show tag tip, and many more). ColdFusion Studio comes with dozens of keyboard shortcuts defined, but it also lets you change and define your on. Want Ctrl-Q to insert a ? You can do that....
December 24, 2000
HTTP error 404 is the dreaded "file not found" error, usually caused by users mistyping URL's or by broken links. ColdFusion displays it's own 404 error if a CFM files does not exist, and it is not a pretty error page at all. ColdFusion 4.5 allows you to provide your own system-wide CFM 404 handler...
December 23, 2000
The ColdFusion Rand() and RandRange() functions are used to return random numbers, but the numbers generated are not truly random (no computer generated random numbers are). Random numbers are actually calculated and sequenced starting from an initial value (called a seed value), and if the same...
December 22, 2000
E-Mail messages generated using are placed in the SPOOL directory beneath the ColdFusion mail directory (usually C:CFUSIONMAIL). If messages cannot be sent then those failed messages are moved to the UNDELIVR directory (also under the ColdFusion mail directory). To force ColdFusion to try and...
December 21, 2000
Cookies cannot be set if a page is exited using redirection, so if you use in your code you cannot use . The best bet is to ensure that all cookies are set before the redirection page is reached. The only other solution is to generate a page that implements JavaScript based client side redirection....
December 20, 2000
Have an application that is part ColdFusion and part ASP? Have an existing C or Java based app that you want to extend with ColdFusion? WDDX can help by allowing you to share structured data between different development platforms and languages. You get the data sharing power of XML without having...
December 19, 2000
OnRequestEnd.cfm is used in conjunction with Application.cfm - if present it is automatically processed after your code (Application.cfm is processed before your code). Like Application.cfm, this file can be in the current directory or any directory above it, but there is a big difference in how...
December 18, 2000
is used to perform server-side HTTP processing (server to server). But some servers might not return the data you expect if they detect that the client is not a true browser. The solution? Make identify itself as something other than ColdFusion - you can do this with the USERAGENT attribute. For...