Community Member Profile

David Boyer
Member since Jun 25, 2009

Recent Blog Comments By David Boyer

  • Creating AngularJS Controllers With Instance Methods

    Posted on Sep 14, 2012 at 7:02 AM

    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 »

  • Getting The MetaData For A File Upload In ColdFusion

    Posted on Jul 19, 2012 at 4:08 AM

    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.... read more »

  • Passing Arrays By Reference In ColdFusion - SWEEET!

    Posted on Mar 16, 2012 at 7:51 AM

    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... read more »

  • Getting Header Values From A ColdFusion Request

    Posted on Jan 25, 2012 at 9:57 AM

    @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 tha... read more »

  • CFAbort And OnRequestEnd() Behavior In ColdFusion 8 And ColdFusion 9

    Posted on Jul 4, 2011 at 5:11 AM

    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 »

  • CFAbort And OnRequestEnd() Behavior In ColdFusion 8 And ColdFusion 9

    Posted on Jun 29, 2011 at 10:57 AM

    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... read more »

  • Changes In CFLocation / OnRequestEnd Behavior In ColdFusion 9's Application.cfc

    Posted on Jun 7, 2011 at 10:12 AM

    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 wha... read more »

  • Explicitly Ending A ColdFusion Session

    Posted on Mar 25, 2011 at 4:24 AM

    @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 lo... read more »

  • Explicitly Ending A ColdFusion Session

    Posted on Feb 2, 2011 at 3:38 AM

    @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 so... read more »

  • Extending Java Objects With ColdFusion Components

    Posted on Jul 15, 2010 at 3:44 AM

    @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 CfTra... read more »

  • Extending Java Objects With ColdFusion Components

    Posted on Jul 13, 2010 at 11:21 AM

    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 read more »

  • Typing High Ascii Values On A Standard Keyboard

    Posted on Jun 7, 2010 at 10:12 AM

    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... read more »

  • Getting Ready For Scotch On The Rocks (SOTR) 2010

    Posted on May 20, 2010 at 9:54 AM

    It'll be great to see you there Ben, looking forward too it. That poster is fantastic, Ray looks happy...... read more »

  • Explicitly Ending A ColdFusion Session

    Posted on Feb 17, 2010 at 3:59 AM

    @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. read more »

  • Explicitly Ending A ColdFusion Session

    Posted on Feb 12, 2010 at 10:55 AM

    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 setMa... read more »

  • Clearing The Session Scope Does Not End Your ColdFusion Session

    Posted on Feb 11, 2010 at 4:43 PM

    @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 ses... read more »

  • Clearing The Session Scope Does Not End Your ColdFusion Session

    Posted on Feb 11, 2010 at 11:28 AM

    @Ben, Now I have http://wp.me/py3ue-cu >:) Great fun but I can't think of a way to use this power for good...... read more »

  • Clearing The Session Scope Does Not End Your ColdFusion Session

    Posted on Feb 11, 2010 at 11:03 AM

    @Ben haven't released it yet, having fun with it first ;)... read more »

  • Clearing The Session Scope Does Not End Your ColdFusion Session

    Posted on Feb 11, 2010 at 10:56 AM

    @Ben, Just checked and .setMaxInactiveInterval(1) works quite well. I've just altered my cftracker riaforge project and added the ability to nuke any session. Great fun! Now to place it on the shared development server in work and watch the other developers scratch their heads when their... read more »

  • Clearing The Session Scope Does Not End Your ColdFusion Session

    Posted on Feb 11, 2010 at 10:25 AM

    Ben, I remember seeing some hidden functions that would expire sessions properly. http://jehiah.cz/archive/extended-operations-on-coldfusion-sessions Basically either session.setMaxInactiveInterval(1) or session.invalidate() Haven't tested in CF9 though but it works in CF7... read more »

Member Account Kinky Solutions Shop
  • Help Wanted - Find Your Next ColdFusion Job
InVision App - Prototyping Made Beautiful With Prototyping Tools