This content has been marked as final. Show 6 replies
Shouldn't your link be: http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001095.htm ?
Also, notice that that page says that you can use your custom tag to store data during the request.
CF only invokes the tag once per request (barring shenanigans) -- even though you call it multiple times.
That text is telling you that you do not normally have to worry about crosstalk between requests on any temporary data stored in the CFX.
Exactly how are you defining request here? It can't be per http request because the behavior is different if you move the tag outside the cfloop.
Yeah, you are right.
The object appears to be invoked or not, willy nilly, depending on what kind of flow control structure it is in!
See the attached code.
This is definitely a bug.
Yes, I thought it seemed like a bug. Thanks for the confirm.
Forgot to add:
Using an explicit tag close, IE <cfx_test inputCounter="#num#" />, has no effect.
For kicks I added hashCode() to the cfx tag response. The hashcode is always the same within the cfloop.. but different outside the loop. So the loop is definitely reusing the same object.