Recent Blog Comments By David Boyer

@Ben (just to confuse you, another David talking about the same backports project :P) The DecodeForHTML method simply turns HTML entities back to the characters that they represent. Same goes for the DecodeFromURL which converts URL encoded characters (also supporting double encoded characters) ba... read more »

Good luck Ben! It's saddening to read you had such a struggle during 2013 but I'm sure you'll manage to turn it all around for 2014. I haven't got much in the way of advice to offer, we all deal with things in different ways. I am pretty sure there are a lot of people out there who are thankful f... read more »

@Sami, nginx is all kinds of awesome but has the Windows support improved? Last time I looked at it, it still didn't have support to run as a service and can't scale as well as it does on linux ( http://nginx.org/en/docs/windows.html ). I still avoid IIS when I had the choice, but go with Apache ... read more »

You're more than welcome Ben. Just glad you took it well ;) Like I mentioned in my blog post, it all just started out as a little joke about how we all love having our Ben Nadel photos taken. No Ben, no photos, couldn't have that happen! As it gained momentum, there was no way to stop it ;) Awe... read more »

Thanks Ben :) Just as I start playing around with AngularJS and Taffy for my CFTracker project, you start blogging about it! Great information so far, hoping that there's more to come on the subject.... read more »

Great way of wrapping it up into a function Ben. Thought I'd share what I mentioned on Twitter that you can also pull that information out from where ColdFusion hides it. http://misterdai.yougeezer.co.uk/2010/06/23/form-scope-hidden-upload-details/ You're method is would definitely be more futu... read more »

I've been trying to force a pass-by-reference from the other side of things. If you look at a lot of the built in ColdFusion Array functions, they'll work as if the array is passed by reference (e.g. ArrayAppend(ar, "value")). Doing a dump of the coldfusion.runtime.Array class you see th... read more »

@Don, The binary content of the file is easy without using CFFile action="upload", check the value of the form field you used for the upload. It'll contain the path to where CF has stored the upload until you're ready to use it. And if you're after the original filename that it was uplo... read more »

Out of curiosity, I'm curious if there are any other tags that this has affected. The only other one that springs to mind would be CFContent when used in certain ways. Doesn't that stop the page processing when it's done?... read more »

Thanks for blogging about this ;) The work around we ended up using where I work involved setting a request variable (e.g. request.complete = true) as the last line of onRequest. Then checking for it in onRequestEnd, if it doesn't exist then cfabort (again!). Of course that only works if you're u... read more »

Maybe this just slipped under my radar but I completely missed this change. Totally confused me when I was helping someone out with an app being redeveloped on CF9. @Ben, didn't see much mention in your post about CFAbort behaving the same way (onrequestend still executes). But that's what I ran ... read more »

@Mike, As far as I know from my digging into sessions... When a session has timed out, it'll continue to exist for certain amount of time but marked as expired. It'll sit there until ColdFusion does a sweep of the sessions and destroys all the expired ones. The delay isn't usually that long, unde... read more »

@Chris, There's no easy way to kill another users session. The best method be to have an application scope structure like application.sessions[session.sessionId] = userId (from your user database). On every request you'd have to check that the session key exists. When you want to kick someone of... read more »

@Jaime Good point. It's probably far better to just extend the Java class itself rather than going through all this trouble. It'd just that I feel far more comfortable and confident in Coldfusion that I do with Java. Like I mentioned above, this post sprouted out of my work on CfTracker and need... read more »

Good approach :) I like how you took advantage of CF9's extra functionality as well. This is one of those things that doesn't come up that often but when it does it really feels like there should be an easier way to do it. Here was my basic approach that I knocked up pretty quickly http://gist.gi... read more »

At some points I've actually included some of those characters in my passwords. My theory is that it makes them a lot more secure, since most brute force attacks on passwords probably focus on easily accessible keyboard characters. Although it took some effort to remember them when logging in ;)... read more »

@Sebastiaan, I don't think the session.setMaxInactiveInterval() will work for Railo. Might be worth checking but I did request other session related "hidden" stuff a while ago and they've said they might be looking into it. http://railo.uservoice.com/forums/21016-general/suggestions/263789-sessi... read more »

Very information post. I agree with you about always being aware about the use of undocumented features. I think it's always a good idea to have alternatives ready in case Adobe take them away. As soon as the CF10 prerelease program starts, I'll be putting my case forward for making setMaxInactiv... read more »

@Jason, Glad you like it. It's just a little utility cfc for stats and information, but the little summary tool does come in handy. Plus the setMaxInactiveInterval is great. With CF8+ you can also read information from other sessions, it'd be easy enough to pull out a username from a session to ... read more »

I am the co-founder and lead engineer at InVision App, Inc — the world's leading prototyping,
collaboration & workflow platform. I also rock out in JavaScript and ColdFusion 24x7 and I dream about
promise resolving asynchronously.