Instantiate object in cfoutput
Hello, good morning everyone.
I wonder if the code below will consume coldfusion 9 resources,
since we have more than 40 simultaneous users in the routine.
<cfoutput query = "qryItens">
<cfset obj = createObject ("component", "cfcs.PrestadorPrecoIten">
<cfset obj.setid_prestador (id_prestadorItem)>
<cfset obj.setid_item (id_item)>
<cfset variables.preco = obj.getPreco ()>
# variable.preco #
</cfoutput>
That is, instantiate an object within a loop and the routine is being accessed by 40 users on average.
can cold fusion stop?
