Question
cfflush usage question
I'm trying to use cfflush on a page that takes several minutes to complete. I'm doing something wrong because I still get a blank page for a few minutes then all at once I get the results. I've tried the example in the online docs and I'm not sure what I am doing differently. Here's an example of my code.
cfflush interval = 5>
<cfset count = 0>
<cfquery name="c" datasource="blahblah">
Select CustomerID
From Customer
Where Customer like 'blah'
Order by CustomerID DESC
</cfquery>
<cfoutput query="c">
<cfquery name="s" datasource="blahblah">
Select blah
From Unit
Where CustomerID = c.customerID
</cfquery>
<cfif s.recordcount NEQ 0>
<cfset count = count +1 />
#s.blah#<br>
<cfinclude template="/Connectback/CBChannelAPlaySchedule.cfm">
<a few more cfincludes>
</cfif>
</cfoutput>
<cfoutput>#count#</cfoutput>
Thanks,
Gary
