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

Don

Member since Jan 20, 2009

Recent Blog Comments By Don

  • Using CFHeader With File Names Containing Spaces (Thanks Elliott Sprehn!)

    Posted on Oct 5, 2010 at 9:54 AM

    @Ben, Primarily I was looking for what is available. Another one of those times when I was looking at one thing and thought "what else?" I am doing 2 things, no caching and force the download box to come up for PDFs. I finally found a place that showed a lot of what is routinely done wi... read more »

  • Using CFHeader With File Names Containing Spaces (Thanks Elliott Sprehn!)

    Posted on Oct 4, 2010 at 4:21 PM

    Here is my question, where can I find everything that cfheader can do for me? I've found bits and pieces but there must be more. Do I have to look for just headers or what? My googling fingers are wearing out.... read more »

  • Learning ColdFusion 9: Resetting Applications With ApplicationStop()

    Posted on Sep 15, 2010 at 3:07 PM

    Getting out my backhoe and dredging this baby back up. It seems people prefer the onApplicationStart() method of resetting everything but that doesn't reset the session variables either. What I have done in the past is just delete the structures session and application and then return to index.c... read more »

  • Creating In-Memory Tables In SQL For Joining And Sumarizing

    Posted on Jul 6, 2010 at 3:04 PM

    I don't know if there is an argument against it but I use that technique when pulling from many data sources such as RSS feeds. Actually what I do is just create a temp table and the insert the data into it after massaging it to match. No real need to do a QueryNew() unless you can't create temp... read more »

  • Learning ColdFusion 9: From SQL To ORM - A Conceptual Shift In Relationships

    Posted on Jun 8, 2010 at 12:35 AM

    Ooooops. Sorry that was to you Andrew. lol Silly me. I think it should be Friday already.... read more »

  • Learning ColdFusion 9: From SQL To ORM - A Conceptual Shift In Relationships

    Posted on Jun 8, 2010 at 12:34 AM

    @Ben, I absolutely agree. I do a lot of OOP via CFC's. That is where I put all my db manipulation etc. Right now I have a login piece that uses ORM and it works fine. OOP is good for some things but when it comes to hardcore (get your mind out of the gutter) data manipulation, just gotta get your ... read more »

  • Learning ColdFusion 9: From SQL To ORM - A Conceptual Shift In Relationships

    Posted on Jun 7, 2010 at 7:19 PM

    @Andrew Bauer, Nah. I'm not confusing anything about objects. I was there when the whole thing was conceived for toasters. :) Yes, oop and java were originally for toasters. Anyway, you hit my point exactly on the head I guess. I was hoping there was an easy way of clearing a table but it looks ... read more »

  • Learning ColdFusion 9: From SQL To ORM - A Conceptual Shift In Relationships

    Posted on Jun 7, 2010 at 3:24 PM

    @Justice, Hmmmmm so to shift back to coldfusion and orm, would that then just be like truncate(table users) ? It doesn't matter if you talk objects or records here since a table being an object holds records or data. So I see table methods of set, update, and delete but they only deal with 1 recor... read more »

  • Learning ColdFusion 9: From SQL To ORM - A Conceptual Shift In Relationships

    Posted on Jun 7, 2010 at 2:59 PM

    Hmmmm no answer for that one? Or are you just ignoring the pesky buzzing sound? Okay. Still trying to learn this so I go for a simple problem, delete all records in a table. hmmmmmm. With cfquery that is easy. But maybe not so much with ORM. What I need, and am searching for, is a list of all func... read more »

  • Learning ColdFusion 9: From SQL To ORM - A Conceptual Shift In Relationships

    Posted on May 28, 2010 at 3:30 PM

    I'm still confused. Which is pretty normal for me. Let me give a better example. I have 2 tables. 1 for volunteers and 1 for organizations that use volunteers. I want to do a join so that I get a list of volunteers and which organizations they volunteer with. Currently I have a table that has 2 col... read more »

  • Invoking My First Web Service With ColdFusion (Amazon Web Service)

    Posted on Apr 21, 2010 at 6:28 PM

    Would be cool if you figured out how to do the Amazon authentication without using Java objects. :)... read more »

  • XML Building / Parsing / Traversing Speed In ColdFusion

    Posted on Apr 21, 2010 at 2:34 PM

    So when it breaks due to being too big, is there anyway of splitting it up into smaller chunks? I'm thinking of taking the raw data before xmlParsing it and seeing if I can't break it up. But if somebody has experience with this already it would save me the trouble. :)... read more »

  • Building Java Arrays In ColdFusion Using Reflection

    Posted on Jan 6, 2010 at 6:15 PM

    Of course I wonder, if I take the 0 based array can I somehow convert it from Java to CF? That would be much much easier. The pain is trying to figure out how many entries I have in the array since CF can't count them.... read more »

  • Recursive XSLT For Nested XML Nodes In ColdFusion

    Posted on Dec 21, 2009 at 5:53 PM

    HAH! Your nightmare has returned. I mentioned this once but now I'm really digging in and hoping somebody knows how to do this already to save me the hassle. This deals with Amazon's api. When you get a product you can get their "browsenodes" output. But what they do is start from the leaves and wo... read more »

  • Building Java Arrays In ColdFusion Using Reflection

    Posted on Dec 9, 2009 at 3:05 PM

    Oh poot. Never mind. While researching this some more I thought to myself "WDDX". But then under that I found the solution. I was trying to reference these as structures or arrays so since it was coming in from a form: form["entry[0]"].name That didn't work. I found I have to use the entire field ... read more »

  • Building Java Arrays In ColdFusion Using Reflection

    Posted on Dec 9, 2009 at 1:49 PM

    Stumbled onto this with a similar problem. Going the other way. I am being sent a 0 based array from another application and need to read it into ColdFusion 8. I've scoured the internet looking for a way to do this but this is the closest I've found. Anyway, what the other application does is do a f... read more »

  • Using Session Timeout And CreateTimeSpan() - Subtle Caveat

    Posted on Dec 4, 2009 at 3:50 PM

    @Ben Nadel, Not yet. Of course that is a smaller problem than others. Just bugs me in development because I have to login everytime I want to test it. I think I'm misssing something about sessions. Maybe an error is killing the session. What I am doing is getting rid of the change to 2 seconds an... read more »

  • Using Session Timeout And CreateTimeSpan() - Subtle Caveat

    Posted on Dec 4, 2009 at 3:01 PM

    Durned administrators! But wait! I'M the administrator. lol Yeh. I checked. I have the max set to 2 hours in admin too. Now on another site I have this problem and I'm not the admin. But I figured out that the session was dying when I left the site, which is done when going through the payment... read more »

  • Using Session Timeout And CreateTimeSpan() - Subtle Caveat

    Posted on Dec 4, 2009 at 2:45 PM

    :) I had just found the trick that you have to use onRequest to see the THIS variables. But this is a good article too. I'm learning soooo much my head just asploded. Messy. Interesting enough, my timeout is actually going to 2 hours. So now I have to figure out why it is dropping the session.lo... read more »

  • Using Session Timeout And CreateTimeSpan() - Subtle Caveat

    Posted on Dec 4, 2009 at 2:29 PM

    I know this is a year old, but I am on this subject and ran across this one. Ty, you have to check each and everytime a request is made to see if the person is logged in. If they are not, then access to that page is denied. Since the application.cfm file is called each time a request is made, you do... read more »