Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.


Member since Dec 11, 2008

Recent Blog Comments By Eric

  • Cleaning High Ascii Values For Web Safeness In ColdFusion

    Posted on Mar 19, 2008 at 11:31 AM

    Handling unicode bytes is unfortunately a little more complicated than stripping "bad" characters. The issue is that multi-byte characters may start with a byte outside of the 0x00-0x7F range, but may then be composed of 1-3 additional bytes which are within this range. So when you strip the "ba... read more »

  • CFHTTPSession.cfc For Multi-CFHttp Requests With Maintained Session

    Posted on Mar 19, 2008 at 9:58 AM

    Just FYI, has an extremely exhaustive API available, which doesn't require this sort of screen scraping. They offer it in various flavors, including WSDL, which should be extremely easy to consume from ColdFusion. Screen scraping their site is against their terms of service, and if ... read more »

  • Handling NULL Values In ColdFusion

    Posted on Mar 19, 2008 at 9:19 AM

    The request scope is slightly dangerous since it's globally available to all objects, methods, etc within the given request. You run some chance of colliding with another variable in that scope, especially in larger applications. A local scope is much safer, this, variables, or a struct you create... read more »