November 17, 2001
is used to perform server-side HTTP operations, programmatically retrieving pages via HTTP for use within your code. But if the page being retrieved is being cached (perhaps by a proxy server) then there is no way within itself to force the retrieval of fresh content. The solution? Embed a...
November 16, 2001
is a core CFML tag - and is used in several different ways depending on the attributes specified. One type of is the conditional loop - a condition is specified in the CONDITION attribute, and will loop as long as the CONDITION evaluates to TRUE. There are two important usage notes to keep in mind...
November 15, 2001
Need to validate that an e-mail address is formatted correctly? (in ColdFusion 5) can do this for you using the following syntax: VALIDATE="regular_expression" PATTERN="[A-Za-z0-9_]+@[A-Za-z0-9_]+.[A-Za-z]+". This will not validate that the address exists and is usable, but it will make sure that...
November 14, 2001
Cookies are very server specific - only the host that sets them can read them. If your application runs on multiple servers (a cluster or DNS round-robin group, for example) then you need to make sure the cookies are set up as domain cookies instead of as server cookies. You can do this using by...
November 13, 2001
New to ColdFusion 5 is support for client-side form field validation using Regular Expressions. To use this feature use , specify VALIDATE="regular_expression", and pass the Regular Expression to be used to the PATTERN attribute. (Applies to: ColdFusion 5)
November 12, 2001
is an invaluable debugging tool - it can display any and all CF data, including complex or nested data types. But, keep in mind that processes expressions, not variables. The difference is subtle - if you specify VAR="name" the text "name" will be dumped, to display the variable name you must...
November 11, 2001
If you are using ColdFusion's Advanced Security features then you'll need a way to test your application using multiple logins (to test how it behaves using each). To simplify this process, use the tag which allows you to execute code as if you were another user. (Applies to: ColdFusion Enterprise)
November 10, 2001
Having trouble configuring and using ColdFusion's Advanced Security features? Go to the ColdFusion support page and read articles 12250, and 12385. For help in managing or migrating the Policy Store refer to articles 12561, 13335, and 14566. (Applies to: ColdFusion Enterprise)
November 9, 2001
ColdFusion provides a range of functions and tags for use with lists, but be careful not to rely on these when working with CSV (comma-delimited list) data. ColdFusion lists and CSV data are not the same. In CSV data empty entries (two commas with nothing between them, not even a space) are...
November 8, 2001
ColdFusion 5 comes with example applications that are installed only if requested. If you are planning on using these applications you must make sure that Full Checking for shared scope variables is not enabled in the ColdFusion Administrator (in the Locking page). (Applies to: ColdFusion 5)