Questions tagged [cfml]

CFML is a dynamic general-purpose programming language, especially suited for web and intranet development. There are compatible but independent implementations by Adobe ColdFusion, Lucee, Railo and Open BlueDragon - each with a common CFML core but different advantages/focuses.

CFML (Cold Fusion Markup Language) is a dynamic general-purpose programming language, especially suited for web and intranet development. There are compatible but independent implementations by Adobe ColdFusion, Lucee, Railo and Open BlueDragon - each with a common CFML core but different advantages/focuses.

Most CFML implementations run using a Java servlet engine. ColdFusion versions 6-9 ship with JRun, but from CF10 onwards uses a customised version of Tomcat. Lucee, Open BlueDragon and Railo run on Jetty/Resin/Tomcat, though they can all use any J2EE app server. There is also a BlueDragon.NET which runs on Microsoft's .NET platform instead of Java.

The and tags have been aliased to this tag.

For all questions, remember to indicate which CFML engine version(s) you are running on (such as , , , or ), and any CFML frameworks you might be using.


Free ColdFusion Programming Resources


CFML Frameworks

There are currently two well maintained / active MVC frameworks for CFML, both are convention over configuration based. They are:

All 3 frameworks run on ColdFusion 10+ and Lucee 4.5+.

FW/1 has support for clojure integration, this requires Lucee 4.5. Clojure integration is optional and not required to run CFML code.

Deciding which one to use will depend on your needs and/or coding style.

854 questions
0
votes
2 answers

Authentication System using Coldfusion

I'm developing a site that will have an admin section. I've Googled this and have found conflicting information (on blogs) regarding the best way to implement this. I'm hoping that some of you SO developers will have first hand experience on…
HPWD
  • 2,232
  • 4
  • 31
  • 61
0
votes
3 answers

Coldfusion Runtime Source Code

Good Day, I was wondering if it was possible to view/debug/hack into the coldfusion.runtime source code. Specifically, I'm getting out of memory errors that look like the following: allocLargeObjectOrArray: [C, size 8388624…
M Lamb
  • 199
  • 1
  • 8
0
votes
1 answer

Block users from multi-login on website

I want to block users from accessing my ColdFusion application more than once at the same time. I have a SQL table with dtLogin, dtLogLastUpdate, ip and isLogged. The logic is: Session timeout is 1h. When user logs in, set dtLogin = datestamp…
Adolfo
  • 131
  • 1
  • 3
  • 10
0
votes
1 answer

flow in model-glue event handler

Can any body help me to understand the flow of model-glue event handler......its so confusing or simplify bellow code......
St.
  • 143
  • 1
  • 6
0
votes
3 answers

Variable ID is undefined

Can anyone review this code and tell me why I am getting variable ID undefined error?
suleman khan
  • 97
  • 1
  • 1
  • 9
0
votes
1 answer

ColdFusion pages displayed as Raw Code

I have a Tomcat 6 server running multiple application, in one of these applications the JSPs refer to links in a ColdFusion project. In production we have Apache setup to change the DocumentRoot to the ColdFusion webroot, however as we are only…
Alexei Blue
  • 1,762
  • 3
  • 21
  • 36
0
votes
1 answer

Validate a textbox when option is selected

I'm creating a registration form with ColdFusion. One of the requirement is for user to select a value from a drop down. When one of the option is selected, the next textbox field need to be fill in so this field becomes required field. If user does…
user2127860
  • 69
  • 1
  • 6
0
votes
2 answers

Railo instanceof not working with Jsoup

I'm running a linux server with tomcat and Railo. If I try this simple code: check = ""; jSoupClass = createObject( "java", "org.jsoup.Jsoup" ); if(IsInstanceOf(jSoupClass,"org.jsoup.Jsoup")){ check = "ok"; } writeDump(check ); If I run…
Tropicalista
  • 3,097
  • 12
  • 44
  • 72
0
votes
2 answers

How do i configure Railo on Jelastic (PAAS) to work with multiple domains using Jetty?

How do i configure Railo on Jelastic (PAAS) to work with multiple domains using Jetty? I found the configuration for Railo using Tomcat, but I would like to use Jetty because of the memory requirements Thanks
Adzcqe Mi
  • 21
  • 1
0
votes
1 answer

CFWheels - Order = "random" is throwing a column error

For some reason, when I specify "random" in my order clause of findAll(), CFWHeels throws an error: Wheels.ColumnNotFound Wheels looked for the column mapped to the random property but couldn't find it in the database table. Suggested…
Michael Giovanni Pumo
  • 14,338
  • 18
  • 91
  • 140
0
votes
1 answer

How to reference global function library in CFML?

Dependency injection allows you to avoid referencing objects and scopes that are external to the object directly. You instead reference the injected dependency. I want to know the best practice in the case of a global function library. I store my…
0
votes
2 answers

Regular Expression in BlueDragon 7.1 is allowing $ sign

I'm using the BlueDragon's cfform validation: But this pattern isn't producing the right result. Something is up with the dollar sign: ^[a-zA-Z0-9…
Induster
  • 733
  • 1
  • 6
  • 15
0
votes
2 answers

Railo error when trying to use CFC via AJAX

I have been unable to get Railo to work with a new CFC on a test page and keep getting a "Railo is not defined" in the Error Console The Error Console highlights this section: var _Railo_proxytest =…
user1009749
  • 63
  • 3
  • 8
-1
votes
2 answers

How can I get the current url

I need to get the current url, like https://www.mypage.com/subfolder/iamhere.html I know that I can get the templatePath using getCurrentTemplatePath(), but I need the url and I don't know how to do that. I searched in google and stackoverflow, but…
Userx10xC
  • 124
  • 9
-1
votes
1 answer

MySQL Update Error - Cannot find what is wrong

I am working on a CFML project with a MySQL backend. I have a function that contains an SQL update statement. The cfquery looks like this: