Whatever message this page gives is out now! Go check it out!
<cfflush
interval = "integer number of bytes">Attribute | Req/Opt | Default | Description |
interval | Optional | Integer. Flushes output each time this number of bytes becomes available. HTML headers, and data that is already available when the tag is executed, are omitted from the count. |
<h1>Your Magic numbers</h1>
<p>It will take us a little while to calculate your five 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>
<cfflush>
<cfset sleep(1000)>
<cfflush interval=10>
<!--- Now slowly output 5 random numbers, flushing the buffer for every 300 bytes accumulated. --->
<cfloop index="Myindex" from="1" to="5" step="1">
<cfset sleep(1000)>
<cfoutput>
Magic number #Myindex# is: #RandRange(100000, 999999)#<br><br>
</cfoutput>
</cfloop>
<p>If you saw no delay between lines being written (and instead they were written all at once after a few seconds delay), and you're making this request via IIS,
note that you need to set iis_buffer_enable=false in the isapi_redirect.properties file, as discussed in the docs here, and then restart your IIS site to pick up the change to that file.</p>