Quantcast
Channel: ColdFusion – ColdFusion
Browsing latest articles
Browse All 100 View Live

Websocket – channels?

This may be a noob question, and I admit that I am a noob when it comes to websockets. With ColdFusion, channels seem to be part of the core but when I research websockets in general, excluding...

View Article


Breaking up character sequences using a regular expression

There was a question asked on the CFML Slack channel recently which I answered. I thought I’d share it here in case it’s useful for others. The problem was that the user had a string which was composed...

View Article


Image may be NSFW.
Clik here to view.

Quick thoughts on structs

Here is a quick guide to all the different kinds of structs in ColdFusion <cfscript> // plain old struct a = {}; a.b = “Bunny”; a.c = “Canary”; a.d = “Doggy”; a.append({“a” : “Apple”});...

View Article

Image may be NSFW.
Clik here to view.

Solving problems calling out of CF via https, by updating JVM

(Originally written Jun 2019, updated Mar 2021) Sometimes the solution to a problem is not what many may suggest it is. And the right solution may even be easier than a commonly suggested one. Over the...

View Article

Regular expressions – practical examples to get you started

There are many posts already out there about Regular Expressions, but I’ve done a few blog posts which use regular expressions and thought it wouldn’t hurt to do yet another post on regular expressions...

View Article


ArrayFilter callback accepts 3 parameters

Just a quick post, but I noticed that the ArrayFilter docs on the Adobe site don’t mention that there are 3 parameters passed to the callback. So thought I’d post it in case people didn’t know. The...

View Article

Pre and post increment / decrement operators

In the excellent CFML News from Foundeo Inc there was a link to Compound Assignment Operators in CFML ( += and more) on Matthew Clemente’s blog. One of the examples Matthew shows is the value++ and...

View Article

Adobe ColdFusion 2018 Accessibility Report is Available for 508 Compliance

VPAT Now Available for ColdFusion 2018! We just released the the 508 Voluntary Product Accessibility Template (VPAT) for Adobe ColdFusion 2018. It can be found on our website here:...

View Article


Image may be NSFW.
Clik here to view.

Converting an array of structs to a query dynamically

I was working with some JSON data in Javascript and wanted to view the data in a table layout so I could quickly scan it to see what I was working with. This is easily done in a browser using...

View Article


Updating ColdFusion 9 For TLS 1.2 Usage

We are using ColdFusion 9.0.1 with jdk 1.7.0_75 version. We have to use TLS 1.2 in our systems. We have tried: Added -Dhttps.protocols=TLSv1.2 line to JRun4 > bin > jmv.config file. Installed...

View Article

Integer Division operator

I was reading Matthew J. Clemente’s great blog post What is the Modulus Operator? A Short Guide with Practical Use Cases which shows this formula: a - ( n * floor( a / n )) It struck me that you could...

View Article

Chained assignments – beware of dragons!

From time to time I come across code like the following: a = b = x = 0; This is shorthand for the following: x = 0; b = x; a = b; You can also use it with operators. For example: x = 10; a = b = x * 2;...

View Article

Getting started with Adobe’s ColdFusion Docker images

Did you know that Adobe released Docker images for ColdFusion back in May 2018? Images are available not only for ColdFusion 2018 and 2016, but also for the ColdFusion Add-on services (PDF service,...

View Article


EncodeForHTML vs. HTMLEditFormat

The code of my (ongoing) ColdFusion project was recently reviewed for security issued. I found one report to be very strange. It’s about Stored Cross-Site Scripting (XSS) with a high CVSS Score of 9.1...

View Article

Input validation to avoid XSS

I recently had a code reviewed for security issues. The report read “In application code, untrusted user data is displayed in the user’s browser without input validation and with deprecated output...

View Article


Order of equation evaluation

The other day I saw a discussion about an equation and started writing this post, it then came up again recently on CFML Slack, so thought I’d finish off the post in case it’s of interest. Consider the...

View Article

Prevent concurrent logins using cflogin

Today I discovered that you can prevent concurrent logins by using cflogin. This was added in ACF11 but completely passed me by and is a nice feature so thought it was worth a quick blog post in case...

View Article


best practices for coldfusion 2018

Hi, I have a question regarding the number of instances that may exist for license, or what are the best practices regarding the instances and requirements for license, for coldfusion 2018 The post...

View Article

Did you know: Release Notes page summarizes key changes in all CF updates

Did you know there’s a single page that summarizes the key changes across all updates to recent CF versions, one for each:  the release notes for CF2018 and the release notes  for CF2016? They...

View Article

In brief: CF2020 to offer still-better deployment on Docker, cloud

There’s great news coming regarding Adobe ColdFusion 2020, with regard to deployment of CF via Docker images and/or in the cloud. As I posted in much more detail on my own blog, Adobe’s Director of...

View Article

coldfusion 10 on Mountain Lion

Is there anywhere to download the developer load of Coldfusion 10 for Mountain Lion? (MAC OSX 10.8). The post coldfusion 10 on Mountain Lion appeared first on ColdFusion.

View Article


memoize functions in CFML

I’ve been working with React hooks recently and one of them allows you to memoize calculations. This is useful where you have a slow, or computationally expensive, function as given the same arguments...

View Article


Image may be NSFW.
Clik here to view.

Writing a CFML error handler? Don’t forget to log the error!

Did you know that if you “handle” an error in CFML, that error will NOT be logged to CF’s application.log file, like errors typically would be? And do you know why that could be a problem, and how...

View Article

Regular Expression Anchors with multiple lines

In CFML, you can use anchors to match the start and /or end of the string you are testing against. To match the start of the string you’d use ^ and to match the end of the string you’d use $. Here’s an...

View Article

Is there a way to define scheduled task execution time to the specific seconds?

Hi All, Is there a way to define scheduled task execution time to the specific seconds? The idea is to have multiple tasks executing at the same interval, but the time of execution is spread out....

View Article


Updating due to security bulletin

Hello, were are currently running ColdFusion 11 latest version.  I just saw a security bulletin was released that affected CF 2016 and CF 2018.  I’m aware that CF 11 has past end of service and we are...

View Article

Thoughts on the ColdFusion Specialist Program Online Segment

So I finished the ColdFusion Specialist videos.  The program consists of online and an in-person components.  The online training videos came out about mid September and all participants were required...

View Article

Image may be NSFW.
Clik here to view.

Alternatives to Query of Query

CFML has had Query of Queries for years and it’s been a useful tool but in modern CFML there is no need to use it at all. Before I go any further I should point out that if you are working with query...

View Article

Image may be NSFW.
Clik here to view.

Attending ColdFusion Summit 2019 was worth my while

An associate and I were just conferring on the number of nuggets we get from these summits. The Adobe products crew & engineers seem to be enhancing the platform in useful and meaningful ways....

View Article



Thoughts on the ColdFusion Specialist Program In-Person Segment

So the in person portion of the specialist program was during the pre-conference day of the ColdFusion Summit.  The first tip I can give is to get there early if you are doing the specialist program....

View Article

CFCamp 2019 Speaker Twitter List

It worked pretty well having the ColdFusion Summit 2019 speaker list (https://twitter.com/dakuwan/lists/cfsummit-2019-speakers) so i decided to to do the same for the CF Camp 2019 speakers.  This list...

View Article

Thoughts on the ColdFusion Specialist Program Exam

So, I blogged about the online part of the ColdFusion Specialist program and the in-person section.  What about the exam?  So as I mentioned in my notes on the in-person section of the program, the...

View Article

Note to Self: IIS 10 Pre-Requisites for ColdFusion 2018

This is more of a note to self than anything… I need it because a.) this isn’t the sort of thing I do frequently enough to commit to memory and b.) because a Google Search for “IIS Installation...

View Article


Image may be NSFW.
Clik here to view.

After Upgrading to Update 5 on CF2018, pages randomly won’t load.

Question… since upgrading to Update 5 on CF 2018, I’m randomly getting this screenshot when loading CF pages. Refreshing the page makes it load properly.  I’ve re-run the wsconfig.exe.  It’s on a...

View Article

ColdFusion Builder – Dark Mode

In Coldfusion Builder (my version is 3.2), there is a built-in option for a “Dark” theme. I happen to prefer “Dark-Mode” themes, especially on my laptop and phones for battery savings and I find it...

View Article

A fix for the error: ColdFusion was unable to create an image from the...

If you may be running a CFML image processing tag or function, which obtains its source image from a URL, you might get this error, “ColdFusion was unable to create an image from the specified source...

View Article


On converting from application.cfm to application.cfc

This topic may seem like (very) old news to many readers, but there are still folks (perhaps thousands) who for one reason or another have some CFML app where they have still not made the shift from...

View Article


Moving from DI/1 to Wirebox in a FW/1 application

I wanted to leverage some of the extra power that Wirebox gives me over DI/1 so decided to have a go at switching from DI/1 to Wirebox. This is what I learnt. Before I start digging into this, this...

View Article

Event Gateway Instances – How verify is running ?

Hi team !! I’m newby of this blog, this is my very first post …. I’m a problem, i’ve activate 4 istance of Event Gateway to send SMS via SMTP, all works fine but, i would like to verify if they are...

View Article

Should you convert all your CFQUERY sql to stored procedures? A different...

If you have legacy code, you likely have lots (if not all) of your SQL in CFQUERY tags. Perhaps you have wondered if (or been told) you should convert all that SQL into stored procedures (called via...

View Article

Help us get CFML / ColdFusion added to CodeWars Website

Help us get CFML / ColdFusion added to CodeWars CodeWars is a cool site for practicing/training to improve your coding skills. I use the site for JavaScript often and it would be awesome if CFML was...

View Article


how can ı make a total number the end of list?

ı must make a  salary list and the end of page(under of the list number) ı wıll show the number.like a excell. how can ı write with coldfusıon?help please. for exp: 1 =10 2=20 30 The post how can ı...

View Article

is anyone there ??

i am looking for a little coding help that i haven’t been able to figure out – i’m in kansas city and there aren’t any groups here – if you are still there can someone respond please The post is anyone...

View Article


Coldfusion 2018 Auto Lockdown tool

How long should it take to install the lockdown tool?  I have 4 websites in IIS and it has been stuck at 100% for an hour.  Installing… Change permissions of IIS website:  The log stopped populating...

View Article

Best Practices for Secure Password Storage in ColdFusion

In today’s post, I want to discuss best practices for storing passwords securely.  The examples I will provide are directed towards ColdFusion development. However, this is not limited to ColdFusion;...

View Article


Java 11 License with ColdFusion 2018 on Virtual Server in a Cluster

Within an Internal Cloud in our organisation we have ColdFusion 2018 Enterprise Edition installed. If the CF2018 is for a specific number of virtual cores but not all the physical cores in a cluster...

View Article

More on today’s CF update, and the importance of securing CAR files

If you saw the news today (July 14, 2020) about the new updates for CF2018 and 2016, you may have read seen the new admonition (a “strong recommendation”) from Adobe that one should be careful to...

View Article

Image may be NSFW.
Clik here to view.

Adobe ColdFusion Security Best Practices (Server Auto-Lockdown)

Most security features and protocols focus on prevention. Firewalls, security analyzers, and proper coding all keep hackers away. And sometimes, unfortunately, security breaches still occur. A hacker...

View Article

Image may be NSFW.
Clik here to view.

SAML in ColdFusion

This blog post is going to be about how to implement a simple SSO application using ColdFusion SAML. To know more about SAML in general, go through the OASIS SAML documentation:...

View Article


Java Keystore – CFHTTP / JSON

Hello All- I have a routine that uses cfhttp to send JSON to a credit card processor.  This only generates invoices, not moving CC info. The system will build the JSON, then send it using CFHTTP. *Most...

View Article

Browsing latest articles
Browse All 100 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>