At work I’ve been asked to brainstorm solutions to a problem where a user’s session and application information is lost when they get kicked off of one server and are moved to another. Essentialy we have a load balancer with “sticky session” support, so a user, once logged into our...

This last Friday I attended the ColdFusion track at the Dallas Techfest. I went with a coworker and ex-coworker specifically to see the ColdFusion 9 preview. It was a good presentation that I must admit I’m a little excited about. For me, this is the most exciting ColdFusion release in...

Last night I did it. I took the plunge. I formatted and installed 64-bit Windows 7 Release Candadite. The experience, thus far, has been fairly painless. The installer was the simpliest installer for Windows I’ve used to date (and the prettiest). Once in Windows I began the search for drivers...

In my ongoing effort to further enhance my PHP framework I started recently working on a caching mechanism. For the time being I am using the PEAR library’s Cache_Lite (I’ve blogged on this before, so check it out) to handle the details of persisting the cache data, locking, and all...

Swithin writes: Can the width and/or height parameters be passed in the o.getCode128() call? I am successfully passing the #url.data# as o.getCode128(#url.data#) but would like to also decrease the overall size of the barcode, while keeping the data the same. So I will need to decrease the width of the...

Here’s a nifty plugin written Davide Ficano that allows you to control what application(s) that is used to view the HTML source on a given page in Firefox. I use a nice text editor called Boxer that I prefer over the default, and this plugin allows me to use it....

Yes, that is the interestingly ambiguous message I recieved today while developing on a particularly large CFC. In this particular component there was a function that was excessively long, so I decided to be cool and break it apart a little bit. To start I took out a 523 line...

I posted an entry yesterday about using a regular expression to reformat SQL queries in code. After a bit more exploring and playing around in RegexBuddy (wonderful tool) I came up with a better regular expression to do the job. This version accounts for the last column much better than...

If you’ve worked with a lot of inline SQL like I have over the years you’ve probably discovered quickly that as you have to add more columns to your query, especially columns that are only added on a dynamic condition, it can be easy to mangle up your commas. Here’s...

Had a situation at work today where I needed a quasi-random ID to store as a “key” in the database. This key would be handed to users for their use over a given session for webservices. At first I started with a UUID using the following code, but it occured...