Thanks, Sandra. Then what do you think is the reason why I can't get CFFLUSH
to work? As it stands, I don't see any output until the whole page is loaded.
I'm using the sample code on Macromedia's site:
<H1>Your Magic numbers</H1>
<P>It will take us a little while to calculate your ten magic numbers.
It takes a lot of work to find numbers that truly fit your
personality. So relax for a minute or so while we do the hard
work for you.</P>
<H2>We are sure you will agree it was worth the short wait!</H2>
<cfflush>
<cfflush interval=10>
<!--- Delay Loop to make is seem harder --->
<cfloop index="randomindex" from="1" to="20000" step="1">
<cfset random=rand()>
</cfloop>
<!--- Now slowly output 10 random numbers --->
<cfloop index="Myindex" from="1" to="10" step="1">
<cfloop index="randomindex" from="1" to="10000" step="1">
<cfset random=rand()>
</cfloop>
<cfoutput>
Magic number number #Myindex# is: #RandRange(
100000, 999999)#<br><br>
</cfoutput>
</cfloop>
>It looks fine to me. While you can use the contentvariable attribute in
>either the <do /> or <include /> commands, they aren't required. If you
>don't use them, then the information is output as it is created.
>
>
>Sandra Clark
>==============================
>http://www.shayna.com
>Training in Cascading Style Sheets and Accessibility
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258553
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4