David Boyer
Member since Jun 25, 2009
- Profile: /members/3680-david-boyer.htm
- URL: https://misterdai.yougeezer.co.uk
- Comments: 36
Recent Blog Comments By David Boyer
-
You Can throw() Anything In JavaScript - And Other async/await Considerations
Posted on Apr 8, 2022 at 11:12 AM
Surprised to see your name on the front page of Hacker News today 😆 Not sure I'd feel entirely comfortable with something that hasn't at least extended an Error being thrown. Simply for the fear of having error handling code somewhere that would only expect something of that format suddenl... read more »
-
For Better Security Use HtmlEditFormat() In Conjunction With JSStringFormat() In ColdFusion
Posted on Jan 3, 2014 at 3:50 AM
@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 »
-
After 2013, I'm Looking Forward To 2014
Posted on Jan 2, 2014 at 10:56 AM
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 »
-
Getting ColdFusion, Helicon Ape, X-SendFile, URL Rewriting, And IIS To Work Together
Posted on Sep 27, 2013 at 9:53 AM
@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 »
-
SOTR 2013 - The Best Conference I Never Went To
Posted on Jun 12, 2013 at 9:18 AM
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 »
-
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. http://misterdai.yougeezer.co.uk/2010/06/23/form-scope-hidden-upload-details/ You're method is would definitely be more futu... 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 that it was uplo... 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 you're u... 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 what I ran ... 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 long, unde... 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 someone of... 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 in ;)... 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. http://railo.uservoice.com/forums/21016-general/suggestions/263789-sessi... 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 setMaxInactiv... 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 session to ... 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 »