To emphasize the necessity for some form of SPAM prevention, consider this example. You have an HTML form, such as: <form action="send.cfm" method="GET"> <input…
ColdFusion AJAX tags reference inaccessible location
If you're trying to use a ColdFusion AJAX-related tag, such as <cffileupload>, you will notice that your HTML source now includes references to JavaScript files,…
Cross Browser CSS: No JavaScript, No Conditionals
You may or may not be familiar with the various methods of forcing non-compliant browsers to conform to your style needs. JavaScript and Conditional IE…
ColdFusion lists – issue with empty strings
I can't believe after all these years using ColdFusion, that this is the first I've encountered this issue with the way lists are manipulated. Without…
ColdFusion CFFile rename – source attribute invalid
While this quick troubleshooting tip is aimed at ColdFusion, it actually has some application to other scripting languages when performing file system operations. If <cffile>…
ColdFusion Query max 64000 bytes
You may have run into this issue when using the MySQL Group_Concat function, or perhaps when retrieving a record with a very large text column.…
ColdFusion 9 Tags and Eclipse / CFEclipse
If you've recently switched to a version of ColdFusion which isn't yet supported by your IDE, in this case, Eclipse with the CFEclipse plugin, you…
Generating safe, valid id attributes
Depending on your circumstances, it may not be straightforward to generate unique or valid id's for your HTML elements. If you are looping over database…
ColdFusion Data truncated for column at row 1
You may receive this error when attempting to insert an empty string into a numeric database column. This logic should provide a good example on…
cfqueryparam in order by, group by, etc
I've seen quite a few posts on this, many come to the same conclusion that using a (possibly length) switch statement is the best way…