Twitter: raymondcamden

Address: Lafayette, LA, USA

ColdFusion Startup Issue with Hostname

11-21-2014 904 views ColdFusion Comments

So - this is kind of crazy. Yesterday I fired up ColdFusion 11 to test something and discovered that every request for a CFM returned an error. The error was a Null Pointer Exception so not terribly helpful. (Or so I thought.) I checked the logs and saw this:

ColdFusion Example: Using jQuery UI Accordion with a ColdFusion query

11-12-2014 1,979 views jQuery, JavaScript, ColdFusion 3 Comments

A reader pinged me yesterday with a simple problem that I thought would be good to share on the blog. He had a query of events that he wanted to use with jQuery UI's Accordion control. The Accordion control simply takes content and splits into various "panes" with one visible at a time. For his data, he wanted to split his content into panes designated by a unique month and year. Here is a quick demo of that in action.

Another bug with queryExecute - Threads

10-09-2014 2,165 views ColdFusion 7 Comments

Wow, not a good morning for one of my favorite new features of ColdFusion 11. This morning I reported on a bug found with queryExecute by a user on StackOverflow. I did some more digging and found that if you use queryExecute inside a thread, it returns an undefined value. Here is a simple test case:

Bug with queryExecute - use with caution

10-09-2014 2,053 views ColdFusion 8 Comments

One of the nicer features in ColdFusion 11 was the addition of queryExecute. It lets you run a query from cfscript easier than using the component based system that was added in the past. However, a StackOverflow user discovered an interesting bug with it.

Timing out users by role in a ColdFusion Application

10-08-2014 2,376 views ColdFusion 9 Comments

Late last month a reader asked me if it was possible to override the session timeout so that he could provide different time outs based on a user role. As far as I know there is no direct way of doing this. There may be a way if you get to the underlying Java Session stuff, but I recommended something simpler - if you keep a variable for when the user last hit your site and do a quick time check, you can easily log them out early. To be clear, this is not the same as ending the session, but honestly, thats not what he really needed. He simply needed to toggle a flag (loggedin) from true to false if that time limit had expired. I thought I'd whip up a quick set of example code to demonstrate this.

The Future of cfObjective.

09-29-2014 3,369 views ColdFusion 28 Comments

So, I don't do this very often, but, I was asked to share a message, and it is one I agree with, so I decided to pass it along. This comes from a member of our community - so please give it a few moments of your time.

ColdFusion 11 Updated, and my (non)appearance at the ColdFusion Summit

09-22-2014 2,524 views ColdFusion 3 Comments

First, the good news. Today Adobe released the first update to ColdFusion 11: ColdFusion 11 - Update 1. You can update via the normal admin interface. Please note that this update includes a connector update for IIS. If you are using IIS, first, I'm sorry, second, update the connector.

Finally, I'm sorry to say that I will not be speaking at the ColdFusion Summit this year. I was really looking forward to it, but I had something come up, something kinda important, that will have me quite a bit far away at the same time. I'll give details when I can. I strongly urge you to attend if you haven't gotten a ticket yet. If for some reason my ColdFusion Builder session is not picked up by someone else, you have my word that I'll give it via a Google Hangout sometime in November.

ColdFusion's ArrayEach and Struct JSON Serialization

09-17-2014 2,124 views ColdFusion Comments

Ok, technically, the two topics mentioned in the subject have nothing to do with each other, but both were interesting things I ran into during my presentation on Sunday so I thought I'd call them out.

Video: My top features of ColdFusion 11

09-14-2014 2,501 views ColdFusion 2 Comments

Here is the other presentation I did at NCDevCon - a review of my top features of ColdFusion 11. I should totally be in marketing. Honest.

Ray's Top Features of ColdFusion 11

CommandBox CLI and Package Manager for ColdFusion

09-11-2014 2,216 views ColdFusion 2 Comments

I'm a few days late on this, but I wanted to be sure my readers knew about the release of CommandBox by Ortus Solutions, the same fine folks behind the ColdBox series of products. CommandBox provides probably the number one feature missing from ColdFusion - a command line and package manager.