Skip to main content

Eric

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, SalesForce.com 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 »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel