Questions tagged [coldfusion]

ColdFusion is a server-side rapid application development platform, implementing the dynamic general purpose CFML programming language. Please include CFML version, OS, and web server in questions.

ColdFusion is a server-side rapid application development platform from Adobe, implementing the dynamic general purpose CFML programming language.

The term ColdFusion is sometimes colloquially used to refer to the CFML language (ColdFusion Markup Language), however there are multiple independent implementations.

ColdFusion runs on the JVM using a servlet engine. Starting with ColdFusion 10, it uses a customised version of Tomcat. Earlier versions, ColdFusion 6 through 9, are bundled with JRun. (WAR installs and other servlet engines are supported.)

Tag usage

The tag has been de-synonymised from the tag to be its own distinct tag. If you are asking about general CFML concepts, be sure to use . If you are asking about a non-Adobe ColdFusion implementation, be sure to use , or tags as appropriate.

For all questions, remember to indicate which CFML engine version(s) you are running, the servlet engine (where relevant), and any CFML frameworks you might be using.

Versions

The initial release was as early as 1995 by Allaire. It was acquired by Adobe in 2005.

The most recent release, ColdFusion 2018, was released in July 2018.

CFML Fiddles

  • You can run arbitrary CFML code against both Adobe ColdFusion and Railo servers in parallel on cflive.net, though at this time there is no way to store and share code there in a traditional fiddle sense.

  • You may also load and execute any GitHub Gist (obviously only useful for CFML gists) on TryCF.com by substituting the gist-id into this url: http://www.trycf.com/scratch-pad/gist/{gist-id}, such as http://www.trycf.com/scratch-pad/gist/7926175. By creating and linking to a try-cf-wrapped gist, you can share runnable code here on Stack Overflow.

Free ColdFusion Programming Resources

14100 questions
4
votes
2 answers

Good general purpose try/catch routine

Using Adobe ColdFusion version 8 and below, all my cfqueries are wrapped in a try catch that calls a function in database.cfc called "CatchError". UPDATE TableName SET ... WHERE ID =…
Phillip Senn
  • 46,771
  • 90
  • 257
  • 373
4
votes
0 answers

"encrypt" and "encryptionalgorithm " not working for Coldfusion 11

There are two new attributes are added to cfmail in Coldfusion 11 named "encrypt" and "encryptionalgorithm ". But they are not working. When I am sending normal email it is successful on my local system but with encryption it fails.
Deepak Kumar Padhy
  • 4,128
  • 6
  • 43
  • 79
4
votes
1 answer

JQuery DataTables - Refresh Table Data After Post - ColdFusion

I'm posting a very simple example of what I want to do because it's easier to explain that way. I have a datatable populated with a cfquery. When you double click on a table row, the JQuery script will send the RecordID to an action page as a url…
madvora
  • 1,717
  • 7
  • 34
  • 49
4
votes
1 answer

Migrating from ColdFusion to ASP.NET

One my client has his website developed using coldfusion... Now I want to migrate that website from coldfusion to asp.net... As a web developer i know it is possible,but want to know a few things Challenges/Learning curves involved in migrating…
ACP
  • 34,682
  • 100
  • 231
  • 371
4
votes
2 answers

How to unit test redirects in cfwheels

What would be the correct way of unit testing a controller action that performs a redirect? UPDATE: I'm a core developer on the CFWheels project. The whole reason I'm asking this question is currently I'm working on enhancing the built in testing…
rip747
  • 9,375
  • 8
  • 36
  • 47
4
votes
2 answers

Coldfusion onCFCRequest Changing Return Type of XML Into WDDX

My customer base is finally off Coldfusion 8 so now I can take advantage of Coldfusion 9's Application.cfc -> onCFCRequest event. I have a test scenario setup and my result is not what I'm expecting. I have a method that I call which produces a…
gfrobenius
  • 3,987
  • 8
  • 34
  • 66
4
votes
5 answers

Difference between cfif not...EQ and cfif...NEQ?

Is there any difference (performance-wise, for example) between and ?
froadie
  • 79,995
  • 75
  • 166
  • 235
4
votes
7 answers

How to run a very large query (SQL Server and ColdFusion)

I've got a reasonably simple query (this time) that I need ALL the results back from (I'm storing them in an Excel spreadsheet). The query itself times out the server, so how do I go about running it without that happening?
Organiccat
  • 5,633
  • 17
  • 57
  • 104
4
votes
1 answer

CfContent restricted to a folder

The application keeps the daily reports in a shared path. Our application generates the URL linking it to the excels like http://application/ExcelTask/Index.cfm?type=Report&fileName=Report_Mar2014.xlsx with the cfm code as
Gaurav S
  • 999
  • 8
  • 16
4
votes
2 answers

What issues coldfusion UI tags have

I have heard many times senior developers asking not to use coldfusion UI tags and that they cause problems. But can someone let me know what kind of problems it creates? I do not use CFML UI tags mostly, but some of the legacy code has them…
CFML_Developer
  • 1,565
  • 7
  • 18
4
votes
1 answer

prove that coldfusion functions unnecessarily buffer with output=true

I've heard that if you do not specify output="false" on a ColdFusion function that unnecessary buffering would occur which could hinder performance. So I wanted to run a test to see if I could prove this. My test is below. I saw no difference at…
gfrobenius
  • 3,987
  • 8
  • 34
  • 66
4
votes
2 answers

ColdFusion 9, JSON, and jQuery EasyUI

I'm trying to output a ColdFusion query to JSON so that it can be used with jQuery EasyUI (specifically a Datagrid). From the example .json files that come with EasyUI this is the format they are looking for... {"total":2 , "rows":[ {…
Bryan
  • 77
  • 1
  • 6
4
votes
1 answer

ColdFusion 10 - REST Web service error - object is not an instance of declaring class

First off, I do not believe this a duplicate question as people have received this error while performing different operations. Overview of the problem: Web service works After x amount of time, it fails and produces said error below. No code…
Michael Stone
  • 950
  • 2
  • 14
  • 30
4
votes
2 answers

Coldfusion 503 service unavailable page

Recently one of my websites had ColdFusion stop responding. Instead of any pages, our users got 503 Server Error response. What I want to be able to do is feed an "Offline" page to my users, so they're not staring at a blank screen. I'm using…
4
votes
3 answers

Loading canvasjs chart with data from database

I am using coldfusion to load data into my pie chart but instead of a pie chart I get a list of 35 datapoints, and no chart displayed. This is my code: