Hi there,
Today I worked on a little bit of ColdFusion that takes in a file url and generates a hex MD5 hash code from it. I used the code posted by Mark Lynch previously here.
The hex code is contained in the checksumhex variable.
I’ve been doing some recursion in ColdFusion in a CFC lately its not pretty but finally got it working.
<#key#> #key#> #testExample[key]#
The problem I was having was that the second key(i.e. the one in the second cfoutput, ) was having weird output, it was outputing values from a function that should previously have been entered and left again. The issue was that after going through the inner function the key value would stay from the other function. So the answer was to actually declare a key at the top of the function and use that within the cfloop. This gave me correct values at the end of the recursion.
<#newItem#> #newItem#> #testExample[newItem]#
This works, hurray!
