Prevent concurrent logins using cflogin

Prevent concurrent logins using cflogin

Order of equation evaluation

Order of equation evaluation follows BIDMAS aka PEMDAS

QueryExecute named parameter gotcha!

I’ve not seen this posted before, apologies if it’s already been discussed! Our team have identified a bug when using QueryExecute and named query parameters. This doesn’t appear to affect all installations of ColdFusion, as it doesn’t affect my machine, but doesn’t work on our QA installation. When using named parameters, ColdFusion can map to the shorting named parameter, ie, if you have both “col1” and “col10” as named parameters, when “col10” gets replaced, it will match “col1” instead. An […]

Input validation to avoid XSS

How to perform input validation to avoid XSS?

EncodeForHTML vs. HTMLEditFormat

Is EncodeForHTML as it is more secure than HTMLEditFormat?

Getting started with Adobe’s ColdFusion Docker images

Interested in getting started with the Adobe CF Docker images? Here’s where you can find more.

Filing issues for things like ColdFusion docs, Docker images, PMT, CFFiddle, and even the bug tracker itself

Did you know you can file bug reports or feature requests not only against CF or CFBuilder, but also for things related to CF like the CF docs, the CF2018 PMT, the CF Docker images, the API Manager, the CFFiddle.org site, and even Tracker itself? Read on.

CF2018 – Clear folder specific template cache not working

We have CF2018 install and turn on “Trusted cache”. Server Product ColdFusion Version 2018,0,03,314033 Edition Enterprise Operating System UNIX OS Version 3.10.0-693.17.1.el7.x86_64 I have made modification to a cfm page and use the button “Clear folder specific template cache” and did not see the new changes until I use  all “Clear Template Cache now” button. Has anyone experience this issue with the cache turn on for CF2018 on linux server?

Integer Division operator

Using the Integer Division operator

Guide to configure JNDI datasource in ColdFusion

(Originally written in Jul 2019. Updated Jan 2021.) Here’s a guide to show you how to configure JNDI datasource in ColdFusion (versions 10 and above). 1. Get the JDBC Driver The JDBC Driver for your particular database must be placed in <coldfusion>/cfusion/lib folder. 2. context.xml configuration Find the context.xml file in the <coldfusion>/cfusion/runtime/conf folder. Save a copy, then edit the file, adding a resource block before the closing tag </Context>, defining the database connection detail: <Resource name=”jdbc/test” auth=”Container” type=”javax.sql.DataSource” maxActive=”50″ […]

Updating ColdFusion 9 For TLS 1.2 Usage

Coldfusion 9 – > I Installed jdk1.8.0_172 – jdk1.8.0_221 versions and changed JRun4 > bin > jmv.config > java.home path. After that when i want to open web page, opens empty page. It is empty between body tags