Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at RIA Unleashed (Nov. 2009) with: Chris Lee and Geoff Bergey
Ben Nadel at RIA Unleashed (Nov. 2009) with: Chris Lee@iamchrislee ) and Geoff Bergey@bigtallgeoff )

James Moberg

Member since Dec 11, 2008

Recent Blog Comments By James Moberg

  • OWASP Encoder.cfc - A Java Encoder Proxy For ColdFusion

    Posted on Dec 29, 2015 at 10:05 AM

    Thanks for writing this! (This was on my TODO list.) I also work with older versions of ColdFusion and prefer to work with custom functions rather than the built-in ones as it makes it easier to add newer features to projects without having to worry about the version of CF used. ColdFusion 8 &... read more »

  • Use preserveCase Consistently When Setting And Expiring Cookies In ColdFusion

    Posted on Dec 14, 2015 at 9:58 AM

    I discovered a recent issue regarding unencoded unicode cookie values. A JWPlayer language drop-down for sub-titles was causing problems on a ColdFusion website. The JWPlayer labels for the languages are used to create cookies and the unencoded unicode "EspaƱol" cookie value caused subse... read more »

  • ColdFusion Image Resize Stuck At sun.java2d.cmm.kcms.CMM.cmmColorConvert With Massive CPU Usage

    Posted on Apr 30, 2015 at 11:35 AM

    I'm still using ColdFusion 9 w/Windows and our solution was to avoid using Java and use Jukka Manner's C++ CFX_OpenImage tag: DISCLAIMER: A Linux/Unix port is unavailable. My personal experience with the Windows 64bit tag has been that it's faster... read more »

  • ColdFusion 11 Accepts All Top-Level Domains (TLD) For IsValid() Email Validation

    Posted on Jan 19, 2015 at 10:19 AM

    I'm still using ColdFusion 9 for many applications and have access to better email validation than ColdFusion 11 by using Dominic Sayers' IsEMail java library. (I explored using a regex, but it required too many special rules.) The library can additionally test the domain's MX record to determine ... read more »

  • Using ImgIX For On-Demand Image Processing At Web Scale In ColdFusion Applications

    Posted on Nov 19, 2014 at 6:57 PM

    Hey @Dina, Is it possible to add an Official "ColdFusion" imgix library on the Client Library page or provide a link to Ben's GitHub project? (For many CF devs, it's a lot easier than having to use the Java version.)... read more »

  • Using ImgIX For On-Demand Image Processing At Web Scale In ColdFusion Applications

    Posted on Nov 19, 2014 at 3:41 PM

    ImgIX's image features seem a lot more powerful than what's built into ColdFusion 9, 10 or 11. Could you use the ImgIX API to perform the optimizations and then save the image locally using ColdFusion? I'm interested in optimizing images (auto=format,enhance,redeye) and then hosting the image l... read more »

  • Sticky CDN - A Content Delivery Network (CDN) For Your Local Development Environment

    Posted on Jul 31, 2014 at 12:31 PM

    Local Storage = file system, right? Are you leveraging Ehcache? (I didn't see it referenced when I browsed the source.) Knowing that browsers may have up to 8 parallel connections, how many simultaneous requests can it handle? One pitfall is Tomcat's permanent caching of DNS. If you move any re... read more »

  • Reminder: Duplicate() Does Not Work With ColdFusion Images

    Posted on Aug 22, 2013 at 5:01 PM

    I just tested duplicate() in ColdFusion 10 and it works correctly (creating 2 separate images). I tried it on CF9 and it failed. Before I consider reporting this, is this considered a new ColdFusion "bug" or "feature"?... read more »

  • ColdFusion GetTempDirectory() Stops Working

    Posted on Aug 9, 2013 at 2:25 PM

    20 months later... is this still the case? Is getTempDirectory() still buggy? I checked the Adobe Bugbase and didn't find any reports of this bug searching for ColdFusion 9 or 10. Has this been fixed or are all devs still avoiding using it? Thanks.... read more »

  • JsonSerializer.cfc - A Data Serialization Utility For ColdFusion

    Posted on Aug 7, 2013 at 11:12 AM

    What's the best way to set up the serializer dynamically/automatically using the results from a query object passed to GetMetaData()? (NOTE: ColdFusion returns "TypeName" in upper or mixed case depending upon how the query is created. Performing any QofQ converts the TypeName value to al... read more »

  • Testing IMG Complete With No SRC Attribute

    Posted on Jul 11, 2013 at 9:44 AM

    Aren't SRC and ALT attributes required for the IMG tag? I've only been able to find the requirement listed here: but it doesn't appear to be mentioned here: I copied your sample code and pasted it into the W3C va... read more »

  • Reading Images With Fallback Approaches In ColdFusion

    Posted on Mar 8, 2013 at 7:31 PM

    An incompatible palette is one issue, another is performance and compression. We were experiencing the CPU going to 100% when processing JPG images from digital cameras. For optimizing large images, we switched to CFX_OpenImage (C++ tag that uses GraphicsMagick). Thumbnail generation was much fast... read more »

  • Detecting Spam In User-Submitted Content With SpamAnalyzer.cfc

    Posted on Sep 25, 2012 at 11:57 AM

    Had you reviewed or tried SebTools SpamFilter.CFC before? If so, how does it compare? Thanks.... read more »

  • CFFlush Does Not Work Inside ColdFusion 8's CFLayout Tag

    Posted on Aug 22, 2012 at 1:43 PM

    I guess in order for CFFlush to work, some manual text editing of config files is required... I missed this when installing and will now need to remind myself this whenever reinstalling CF10. (CF8 & 9 didn't behave this way.) read more »

  • CFFlush Does Not Work Inside ColdFusion 8's CFLayout Tag

    Posted on Aug 22, 2012 at 1:24 PM

    I'm using ColdFusion 10 with IIS6 and CFFlush isn't working at all... even with the above-mentioned "73729 bytes" trick. (We haven't had any issues with CF8/9, IIS6 and CFFlush.) I've reported it as a bug (w/sample CF code to duplicate the problem): read more »

  • Mapping CSS Sprite Image Coordinates With ColdFusion

    Posted on Aug 7, 2012 at 12:34 PM

    @Ben, Because the classname isn't descriptive enough, any designer would have to: 1) render the CSS to see what shows up for each class 2) open an image editor and count pixels 3) count the row/column positions in the image and hope that the image naming is consistent and then rename any conflict... read more »

  • Mapping CSS Sprite Image Coordinates With ColdFusion

    Posted on Aug 7, 2012 at 12:17 PM

    I just noticed that if you used this on multiple sprite files, the CSS class names would be duplicated (.sprite1, .sprite2, etc). You'd have to go through, identify which # corresponds to each image and manually rename the classes. What do you recommend to accept a number of PNG images (like from ... read more »

  • Detecting (And Canceling) Key-Combo Events With jQuery

    Posted on Jul 17, 2012 at 11:20 AM

    I was updating one of the jQuery plugins that I use to filter input fields to allow only numeric characters and I realized that it did what you wanted & it also uses ReGex. The original plugin had to be rewritten due to... read more »

  • Detecting (And Canceling) Key-Combo Events With jQuery

    Posted on Jun 22, 2012 at 11:25 AM

    If your intent is to "prevent a user from entering certain restricted characters in an input field", you'll also need to detect mouse paste events. Some developers prevent pasting in an attempt to prevent characters, but that's not a good way of doing it. Check out ZURB's "jQuery Te... read more »

  • ColdFusion 10 Beta - Generating Hash-Based Message Authentication Codes With Hmac()

    Posted on Apr 9, 2012 at 1:42 PM

    I was reading the CF10 docs and for "algorithm" & "Encoding" it doesn't offer a list of allowable options. Any idea regarding all of the algorithms & encoding that Hmac(... read more »