I think the basic benefit of this tag is to allow your users to be "entertained" while a long loading page is being presented. My connection from my house would be a good example. Some of us in the boonies (small town America) don't have the option of having lightning speed internet service. I've been known to leave the computer and go clean up the kitchen while loading some pages. Am I wrong about the use of this tag? Jeremy Ridout wrote: > Your server must be too fast!!! Try bumping up the loop endCount to 100,000 > in line 1 (you might also want to then change the flushCount to 1000!). > > Jeremy > > > -----Original Message----- > > From: Dave Cahall [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, August 21, 2001 11:52 AM > > To: '[EMAIL PROTECTED]' > > Subject: RE: <cfflush> example > > > > > > I could hardly see any delay in display the page. > > > > Dave Cahall > > Vice President, Professional Services > > Digitaris Technologies, Inc. > > Office: 972.690.4131 ext 116 > > Mobil: 214.914.9947 > > > > > > -----Original Message----- > > From: Jeremy Ridout [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, August 21, 2001 11:57 AM > > To: '[EMAIL PROTECTED]' > > Subject: RE: <cfflush> example > > > > > > The top part of the template runs through the loop, > > outputting every 100, > > however there is no flush. If you were to put a cfabort at > > the end of that > > first loop, nothing would show up on the screen until the > > loop is finished > > running. > > > > In the second loop, there is a flush with each 100 output... > > if you watch > > the browser as it executes, you will see the outputted > > numbers "stream" into > > the browser. > > > > When you put it all together, you see nothing at first, then > > you see the > > final output from the first loop, then you see the > > "streaming" output from > > the second loop... thus demonstrating the difference between > > flushing and > > not flushing. > > > > Like I said, sometimes it's the little things that are the > > most amusing. > > > > Jeremy > > > > > -----Original Message----- > > > From: Dave Cahall [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, August 21, 2001 11:38 AM > > > To: '[EMAIL PROTECTED]' > > > Subject: RE: <cfflush> example > > > > > > > > > I tried this on my machine and I must be missing something. > > > What unique > > > performance should I see? > > > > > > Dave Cahall > > > Vice President, Professional Services > > > Digitaris Technologies, Inc. > > > Office: 972.690.4131 ext 116 > > > Mobil: 214.914.9947 > > > > > > > > > -----Original Message----- > > > From: Jeremy Ridout [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, August 20, 2001 10:27 AM > > > To: '[EMAIL PROTECTED]' > > > Subject: <cfflush> example > > > > > > > > > Sometimes we are amused by the little things... > > > > > > I was playing around with some of the new tags in CF 5.0. > > > While testing > > > CFFlush, I wrote a simple little page to see and compare just > > > how it worked. > > > In case anyone here is interested, you now have a copy. Any > > > questions, let > > > me know. Any complaints, apologies. > > > > > > The code: > > > > > > <cfset endCount = 25000> <!--- How high are we going? ---> > > > <cfset flushCount = 100> <!--- output something at this > > interval ---> > > > > > > <cfset StartTick = GetTickCount()> <!--- the beginnings of a > > > simple timer, > > > but not really relevant here (cfflush doesnt "speed" anything > > > up). ---> > > > > > > <cfoutput> > > > > > > <p>Starting count...</p> > > > <cfflush> <!--- flushing here just so that you can see > > > something on the > > > screen. ---> > > > > > > <p>Counting up to #endCount#, not flushing until we are > > finished.</p> > > > > > > <cfloop from="1" to="#endCount#" index="i"> <!--- Loop from 1 to the > > > endCount ---> > > > <cfif i MOD flushCount IS 0>#i#</cfif> <!--- output the > > > index value > > > every flushCount ---> > > > </cfloop> > > > > > > <cfflush> <!--- flush here to simulate the end of the page ---> > > > > > > <!--- And starting over... ---> > > > <p>Counting up to #endCount#, flushing every #flushCount#...</p> > > > > > > <cfloop from="1" to="#endCount#" index="i"> <!--- loop from 1 to the > > > endCount ---> > > > <cfif i MOD flushCount IS 0>#i#<cfflush></cfif> <!--- output the > > > index value every flushCount -- AND flush! ---> > > > </cfloop> > > > > > > </cfoutput> > > > > > > <cfset EndTick = GetTickCount()> <!--- the end of a simple > > timer ---> > > > > > > <!--- How long did it all take.. again, not very relevant to > > > this discussion > > > ---> > > > <cfset TotalTicks = (EndTick - StartTick) * 0.001> > > > <cfoutput><p>It took #TotalTicks# seconds to complete the > > > task.</p></cfoutput> > > > > > > -------------------------------------------------------------- > > > ----------- > > > This email server is running an evaluation copy of the > > > MailShield anti- > > > spam software. Please contact your email administrator if > > you have any > > > questions about this message. MailShield product info: > > www.mailshield.com > > > > ----------------------------------------------- > > To post, send email to [EMAIL PROTECTED] > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > -------------------------------------------------------------- > > ----------- > > This email server is running an evaluation copy of the > > MailShield anti- > > spam software. Please contact your email administrator if you have any > > questions about this message. MailShield product info: > > www.mailshield.com > > > > ----------------------------------------------- > > To post, send email to [EMAIL PROTECTED] > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > -------------------------------------------------------------- > > ----------- > > This email server is running an evaluation copy of the > > MailShield anti- > > spam software. Please contact your email administrator if you have any > > questions about this message. MailShield product info: > > www.mailshield.com > > > > ----------------------------------------------- > > To post, send email to [EMAIL PROTECTED] > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > -------------------------------------------------------------- > > ----------- > > This email server is running an evaluation copy of the > > MailShield anti- > > spam software. Please contact your email administrator if you have any > > questions about this message. MailShield product info: > > www.mailshield.com > > > > ----------------------------------------------- > > To post, send email to [EMAIL PROTECTED] > > To subscribe / unsubscribe: http://www.dfwcfug.org > > > > ------------------------------------------------------------------------- > This email server is running an evaluation copy of the MailShield anti- > spam software. Please contact your email administrator if you have any > questions about this message. MailShield product info: www.mailshield.com > > ----------------------------------------------- > To post, send email to [EMAIL PROTECTED] > To subscribe / unsubscribe: http://www.dfwcfug.org
begin:vcard n:Lori;Beier, x-mozilla-html:FALSE url:www.ditchwitch.com org:Ditch Witch adr:;;1959 W. Fir;Perry;OK;73077;USA version:2.1 email;internet:[EMAIL PROTECTED] title:Web Systems Developer x-mozilla-cpt:;-31856 fn:Beier, Lori end:vcard
