Quantcast
Channel: ColdFusion – ColdFusion
Browsing all 100 articles
Browse latest View live

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
Browsing all 100 articles
Browse latest View live


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