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
1 answer

How can I perform a SQL SELECT with a LIKE condition for a string containing an open bracket character?

I have a simple search query: SELECT * FROM MyQoQ WHERE DESCRIPTION LIKE '%#URL.searchString#%' This query works excellently for most values. However, if someone…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
4
votes
1 answer

ColdFusion 10 cffile action="upload" accept attribute wildcards don't work

This code used to work fine with ColdFusion 9:
Scott Jibben
  • 2,229
  • 1
  • 14
  • 22
4
votes
1 answer

Google Calendar OAuth access_token doesn't work for POST functions

I am having issues calling Calendar:Insert via Google's API https://www.googleapis.com/calendar/v3/calendars I don't believe there are authorization/permission issues, the access_token is acquired via a refresh_token with the following scope:…
4
votes
1 answer

Coldfusion's StructCopy & URL scope

I came across an interesting scenario today using StructCopy with the URL scope. I'm not looking for answers on how to get around it - I know/have used structAppend/duplicate etc I wanted to copy the URL scope to a new struct so I can process/alter…
rhinds
  • 9,976
  • 13
  • 68
  • 111
4
votes
1 answer

Cfhttp result struct behaves as if null in CF8?

I'm trying to do some sanitation on the results of a call to Facebook but Coldfusion is telling me that the variable is null: FILECONTENT null
The error occurred on line 66. Here's the line that causes the error:
Carl Campbell
  • 87
  • 1
  • 5
4
votes
3 answers

how to loop over the tables of a database?

I am trying to loop over the tables of a database using the following code getting an error java.lang.UnsupportedOperationException. i have even tried with cfloop query and other attributes got errors complex value can't convert to simple value. can…
Suleman khan
  • 1,038
  • 4
  • 14
  • 34
4
votes
1 answer

How do I get the VIM matchit plugin working with ColdFusion and HTML?

I've been attempting to follow the instructions on the Vim wiki to get the matchit plugin working with ColdFusion (*.cfm) files containing both ColdFusion and HTML tags running on MacVim. I've got the syntax file for ColdFusion (cf.vim) installed in…
Jack
  • 291
  • 1
  • 2
  • 8
4
votes
1 answer

coldfusion cfquery returning inserted oracle rowid

According to the CF9 cfquery documentation, I should be able to return the oracle ROWID in the cfquery result. I've failed on all counts, it simply does not return any identity or generated keys I am using the jdbc oracle thin client, can anyone…
Jay Rizzi
  • 4,196
  • 5
  • 42
  • 71
4
votes
1 answer

Passing Classes/Components with properties in Coldfusion

I'm new to CF, coming from a .NET background. I'm wondering what the best practice type thing would be for the following situation. Say I have a component, car.cfc and I have a function inside this component that requires the…
mnsr
  • 12,337
  • 4
  • 53
  • 79
4
votes
4 answers

Is it a bad idea for multiple ColdFusion applications to use the same client variable store?

We have two ColdFusion applications that share a common database. There are three instances of each application. (One instance of each application runs on each of three servers.) I can see that the three instances of a given application should…
Mark Meuer
  • 7,200
  • 6
  • 43
  • 64
4
votes
1 answer

Can't find CFSCRIPT routine

I've written a brief CFscript to encode/decode links: function link_encode(str) { x = Replace(str, "&", "and", "ALL"); y = Replace(x, " ", "_", "ALL"); z = Replace(y, "/", "|", "ALL"); return z; } function link_decode(str) { …
Pat Dobson
  • 3,249
  • 2
  • 19
  • 32
4
votes
1 answer

when do getTempDirectory files get deleted?

In coldfusion, when do files that are uploaded using the getTempDirectory() function get deleted? I'm storing a temporary file that will eventually go in a database, but I need to run some code before I push it to my database. Once it's on the…
ConfusedDeer
  • 3,335
  • 8
  • 44
  • 72
4
votes
1 answer

Form Variable determined Dynamically using jquery

Update jsfiddle.net/xDA9p/2 Similiar to this. Except instead of a email or website it would be autodetermining the Image_ID Actually if someone could help me by showing me how to merely auto-update the Input form for the Image ID when a certain…
Michael Downey
  • 687
  • 3
  • 13
  • 42
4
votes
2 answers

Why is bracket access notation working but not dot?

I have a search form in ColdFusion. On post, it invokes a SQL stored procedure. It returns the first 20 matching records by default, and accepts a "pagenum" parameter (in addition to many other input parameters) that allows you to indicate which set…
froadie
  • 79,995
  • 75
  • 166
  • 235
4
votes
1 answer

Why is the get action of cfexchangemail never returning?

We are running Coldfusion 9.0.1 and have successfully used cfexchangemail to retrieve email for a number of years. Within the last few days the calls for some users never return. This leads to ColdFusion stacking up active requests which…
1 2 3
99
100