November 22, 2001
The use of session state management, via either CLIENT or SESSION variables, is enabled in the tag. That tag may also be used to set the timeout for SESSION variables, but not for CLIENT variables. If you want to set CLIENT variable timeouts you must do this in the ColdFusion Administrator....
November 21, 2001
can be used to loop through query results. So can . The difference? executes the loop quicker, but code within it will not be evaluated automatically (unless is used). is thus better suited for looping through queries to be output, is better suited for other forms of processing. (Applies to:...
November 20, 2001
A ColdFusion variable named user.login is a structure named user containing a member named login. Right? Well, maybe - it depends on how the variable was created. It might indeed be a structure (created using the StructNew() function) with a member with in, or it may be a variable named...
November 19, 2001
ColdFusion's debugging options include the ability to publish a detailed stack trace for use within structured error handling code. Turning on this debugging option will impact performance and so it should not be enabled unless structured error handling (implemented using and ) is being used....
November 18, 2001
is used to execute an application (or process) on the ColdFusion server. When using make sure you specify the complete executable file name, including the path and any extension. (Applies to: ColdFusion 4.5 (or later))
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)