Skip to main content

Terry Schmitt

Member since Dec 11, 2008

Recent Blog Comments By Terry Schmitt

  • Working With Time Zones And Daylight Savings Time (DST) In ColdFusion And Java

    Posted on Sep 22, 2011 at 2:30 PM

    I've been away from ColdFusion for a while, but timezone.cfc was the cat's meow for working with time. I would persist all datetimes in UTC and then use timezone.cfc for the conversions for display etc. read more »

  • Handling AJAX Errors With jQuery

    Posted on Nov 7, 2008 at 11:12 AM

    I have used this concept with Prototype and it works great. You can take this one step further and throw/capture a 403 status code. Many folks totally forget about authentication when using ajax, but it's really pretty easy. If authentication fails for an ajax request, then just have coldfusion set ... read more »

  • Tracking Data Audits In ColdFusion

    Posted on Jun 25, 2008 at 10:49 AM

    I think it always comes down to the particular requirements for given application. I normally package my audit logic in my CF code, but if high performance is a goal, I would absolutely move the auditing to where it can be handled the fastest. The suggested trigger method would be extremely fast, bu... read more »

  • Turning On Multiple Statements In ColdFusion 8 MySQL 4/5 Datasource

    Posted on Apr 24, 2008 at 3:22 PM

    Thanks for the tip! I recently converted a site from MS SQL to MySQL 5 and ran into that issue. At the time I just tweaked the CF code to work around it, but I know I will use this in the future.... read more »

  • Ask Ben: Converting a Query to an Array

    Posted on Oct 30, 2007 at 4:43 PM

    I was pulling my hair out trying to access a query column dynamically and saw this post. Thanks much for the tip! It's funny how many years you can program CF and still find something new.... read more »

  • Ask Ben: Printing Shipping Labels With ColdFusion

    Posted on Aug 24, 2007 at 12:34 PM

    @Ben Sorry for the delay, but as Thomas stated, it's fairly straight forward to create custom labels. Just get the measurements set up correctly and it works great. I think that the report builder is a pretty powerful tool that is overlooked by many CF developers. Even though I don't use it a lot I ... read more »

  • Ask Ben: Printing Shipping Labels With ColdFusion

    Posted on Aug 23, 2007 at 5:03 PM

    Interesting technique, but I'd definitely recommend using cfreport for this. Custom or standard labels work great with your choice of output type and no reliance on Word. T... 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