Twitter: raymondcamden

Address: Lafayette, LA, USA

Disqus update (and BlogCFC export script)

11-26-2014 614 views ColdFusion

As folks know, I've been working on transitioning to Disqus over the past week. I ran into multiple problems, and I made multiple mistakes, but today the process completed and I'm ready to share details about my BlogCFC export script as well as some tips for others who may be considering making the jump.

ColdFusion Startup Issue with Hostname

11-21-2014 1,249 views ColdFusion

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 2,158 views jQuery, JavaScript, ColdFusion

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,180 views ColdFusion

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,065 views ColdFusion

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,395 views ColdFusion

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,391 views ColdFusion

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,536 views ColdFusion

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,137 views ColdFusion

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,527 views ColdFusion

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