CFflush - interval attribute
cfflush.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfflush: how to use interval attribute with cfflush in coldfusion</title>
</head>
<body>
<h2 style="color:DeepPink; font-style:italic">cfflush tag example: how to use cfflush</h2>
<hr width="400" align="left" color="OrangeRed" />
<br />
<cfflush interval="1">
<cfoutput>
<cfloop index="i" from=1 to="500000">
<cfif i EQ 100000 or i EQ 200000 or i EQ 300000 or i EQ 400000 or i EQ 500000>
<h3 style="color:SeaGreen">
The loop current index is: #i#
<br />
</h3>
</cfif>
</cfloop>
</cfoutput>
</body>
</html>