Skip to main content

Marc

Member since Dec 11, 2008

Recent Blog Comments By Marc

  • Ask Ben: Simple Data Caching In ColdFusion

    Posted on Apr 20, 2008 at 9:26 AM

    ...Solved, Just before where I do a call to the function in the cfc I did a cfinvoke and called on the resultvar of that operation. The init() method had not been invoked. I did this because Godaddy is not supporting Createobject() so I had to rewrite parts of the app and obviously didn't bother t... read more »

  • Ask Ben: Simple Data Caching In ColdFusion

    Posted on Apr 20, 2008 at 6:04 AM

    Hi Ben, It seems Coldfusion does not implement an init function like I expect it to... Here's what I do. in Application.cfm: <cfset APPLICATION.objects.db = CreateObject('component','components.db').init(dsn_users='users',dsn_guestbook="guestbook",dsn_irama="irama",maxStringLength=25)> in ... read more »

  • Passing Referer AS ColdFusion CFHttp CGI Value vs HEADER Value?

    Posted on Apr 8, 2008 at 7:38 AM

    The difference between type="CGI" and type="HEADER" is that the former gets urlencoded by default, the latter not. If I add encoded="false" to type="CGI" the two are identical. To get an overview of CGI variables that you can modify and CGI variables that are not modifyable do this: in test1.cfm: ... read more »

  • Passing Referer AS ColdFusion CFHttp CGI Value vs HEADER Value?

    Posted on Apr 8, 2008 at 5:57 AM

    I try to do this with the CGI.REMOTE_ADDR but it doesn't work. If I do this: <cfhttp method="post" url=" http://mytestdomain.com/iptest.cfm " result="result"> <cfhttpparam type="CGI" name="remote_addr" value="92.63.154.23" encoded="false"> </cfhttp> <cfoutput>#resul... 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