Hi Jeff,
if U notice the code carefully - u'll see that the CFLOOP has a "STEP" value of 25 ... try & reduce this to "1" to that u can see the progress bar going in as the loop iterates ...
the code dosent wait for 5 second or soemthing - thats the time taken by teh CFLOOP to iterate 100 times
so if u dont want this to iterate - then reduce the loop count by making it to run from 0 - 10 instead of 0 - 100
it also has a internal loop - that checks the time difference for 2 seconds
so u have a total time taken of = 2 seconds * the number of time outer loop interates
changing the values of internal loop to 1 OR removing teh internal loop, may make the difference in teh time taken ...
let me know
K'Rgds
Anand
Main Topics
Browse All Topics





by: danrosenthalPosted on 2003-09-30 at 18:10:07ID: 9463084
this line here is the line that is "waiting"...
<CFLOOP CONDITION="DateDiff('s', InitialTime, Now()) LT 2"></CFLOOP>
but it looks like 2 seconds to to me.
So every 2 seconds it increments the outer cfloop (0 to 25 to 50 to 75 to 100)