also running a 512 cable modem, so it shouldnt be the connection Dave
----- Original Message ----- From: "Dave Lyons" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, February 15, 2003 12:58 PM Subject: Re: uploading progress bar > yeah I have installed it > im talking about the Macromedia example on there site chokes, not on mine > > totally chokes in IE an in mozilla it starts to work followed by this error: > > Error Occurred While Processing Request The request has exceeded the > allowable time limit Tag: CFLOOP > > > The Error Occurred in > /data/www/httpd/apache2/htdocs/coldfusion/cfflush/cfflush_example/index.cfm: > line 18 > > 16 : <cfloop index="randomindex" from="1" to="50000" step="1"> > 17 : <cfset random=rand()> > 18 : </cfloop> > 19 : > 20 : <!---Now slowly output 10 random numbers ---> > > > > I doubt its my machine, I'm running a pentium 4 2.4 ghz with 768 mb of > rdram, xp pro > > Dave > > ----- Original Message ----- > From: "Peter Bagnato" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Saturday, February 15, 2003 12:49 PM > Subject: RE: uploading progress bar > > > > I ran the code and it worked just fine (I did remove the CFMODULE header > and > > CFINCLUDE footer). > > > > Did you intall SP2 on your server yet? > > > > <p>The following example uses cfloop tags and the rand random number > > generating function to delay data display. CFFLUSH is used to force the > > browser to output data as it becomes available, rather than processing the > > page first and rendering it all at once.</p> > > > > <p>Please be patient while we determine your lucky numbers...</p> > > > > <cfflush> > > <cfflush interval=10> > > > > <!---Delay Loop to make it seem harder ---> > > <cfloop index="randomindex" from="1" to="50000" step="1"> > > <cfset random=rand()> > > </cfloop> > > > > <!---Now slowly output 10 random numbers ---> > > <cfloop index="Myindex" from="1" to="5" step="1"> > > <cfloop index="randomindex" from="1" to="10000" step="1"> > > <cfset random=rand()> > > </cfloop> > > > > <cfoutput> > > Lucky number #Myindex# is: #RandRange( > > 1,99)#<br><br> > > </cfoutput> > > </cfloop> > > > > -----Original Message----- > > From: Dave Lyons [mailto:[EMAIL PROTECTED]] > > Sent: Saturday, February 15, 2003 12:45 PM > > To: CF-Talk > > Subject: Re: uploading progress bar > > Importance: High > > > > > > <!--- Page header ---> > > <cfmodule template="../../resource/include/html_header.cfm" title="CFFLUSH > > Example"> > > > > <p>The following example uses cfloop tags and the rand random number > > generating function to delay data display. CFFLUSH is used to force the > > browser to output data as it becomes available, rather than processing the > > page first and rendering it all at once.</p> > > > > <p>Please be patient while we determine your lucky numbers...</p> > > > > <cfflush> > > <cfflush interval=10> > > > > <!---Delay Loop to make it seem harder ---> > > <cfloop index="randomindex" from="1" to="50000" step="1"> > > <cfset random=rand()> > > </cfloop> > > > > <!---Now slowly output 10 random numbers ---> > > <cfloop index="Myindex" from="1" to="5" step="1"> > > <cfloop index="randomindex" from="1" to="10000" step="1"> > > <cfset random=rand()> > > </cfloop> > > > > <cfoutput> > > Lucky number #Myindex# is: #RandRange( > > 1,99)#<br><br> > > </cfoutput> > > </cfloop> > > > > <!--- Page footer ---> > > <cfinclude template="../../resource/include/html_footer.cfm"> > > > > > > Dave ----------------------------------------- > > > > ----- Original Message ----- > > From: "Peter Bagnato" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Saturday, February 15, 2003 12:40 PM > > Subject: RE: uploading progress bar > > > > > > > Can you post the code from the MM site so I can take a look at it? > > > > > > -----Original Message----- > > > From: Dave Lyons [mailto:[EMAIL PROTECTED]] > > > Sent: Saturday, February 15, 2003 11:50 AM > > > To: CF-Talk > > > Subject: Re: uploading progress bar > > > Importance: High > > > > > > > > > the example on MM site stalls out not the code you sent back in > > > :) > > > Dave > > > > > > ----- Original Message ----- > > > From: "Peter Bagnato" <[EMAIL PROTECTED]> > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > Sent: Saturday, February 15, 2003 7:53 AM > > > Subject: RE: uploading progress bar > > > > > > > > > > What stalls? Can you explain and share the code? > > > > > > > > -----Original Message----- > > > > From: Dave Lyons [mailto:[EMAIL PROTECTED]] > > > > Sent: Saturday, February 15, 2003 12:20 AM > > > > To: CF-Talk > > > > Subject: Re: uploading progress bar > > > > Importance: High > > > > > > > > > > > > I looked up cfflush in the docs and ran the example and it stalls > > > > out, lol > > > > > > > > Dave ----------------------------------------- > > > > > > > > ----- Original Message ----- > > > > From: "Peter Bagnato" <[EMAIL PROTECTED]> > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > Sent: Friday, February 14, 2003 11:51 PM > > > > Subject: RE: uploading progress bar > > > > > > > > > > > > > The key is by using the CFFLUSH tag. > > > > > > > > > > CFFLUSH takes whatever is in the buffer and flushes it to the > > > > > browsers. > > > > > > > > > > Look up CFFLUSH in the documentation and you'll see what I mean. > > > > > > > > > > The only problem when using CFFLUSH is the fact that you can't use > > > > > CFLOCATION after it... Kind of a headache to write the redirects > > > > > in Javascript. > > > > > > > > > > Peter Bagnato > > > > > > > > > > -----Original Message----- > > > > > From: Dave Lyons [mailto:[EMAIL PROTECTED]] > > > > > Sent: Friday, February 14, 2003 11:46 PM > > > > > To: CF-Talk > > > > > Subject: Re: uploading progress bar > > > > > Importance: High > > > > > > > > > > > > > > > one other ? > > > > > how did you implement it? > > > > > on an action page sent to after submission or just after the form? > > > > > > > > > > > > > > > Dave > > > > > ----- Original Message ----- > > > > > From: "Peter Bagnato" <[EMAIL PROTECTED]> > > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > Sent: Friday, February 14, 2003 11:41 PM > > > > > Subject: RE: uploading progress bar > > > > > > > > > > > > > > > > Here you go: > > > > > > > > > > > > <!--- Initial Message ---> > > > > > > <p><b>Please wait</b></p> > > > > > > > > > > > > <!--- Initially display a blank gif ---> > > > > > > <img name="meter" src="../images/PercentBlank.gif"> > > > > > > > > > > > > <!---Flush the page buffer ---> > > > > > > <cfflush> > > > > > > > > > > > > <!--- Loop from 0 to 25 and 25 to 50 to 75 to 100 ---> <cfloop > > > > > > from="0" to "100" step="25" index="I"> > > > > > > > > > > > > <!--- Time-consuming process goes here ---> > > > > > > <!--- Here, ColdFusion waits for 5 seconds as an example ---> > > > > > > <!--- Do not use this technique in actual code! ---> > > > > > > > > > > > > <cfset InitialTime = Now()> > > > > > > <cfloop condition="DateDiff('s', InitialTime, Now()) LT > > > > > > 2"></cfloop> > > > > > > > > > > > > <!--- Change the SRC attribute of the Meter image ---> <cfoutput> > > > > > > <script language="JavaScript"> > > > > > > document.images["meter"].src = '../images/Percent#i#.gif'; > > > > > > </script> > > > > > > </cfoutput> > > > > > > > > > > > > <cfflush> > > > > > > > > > > > > <!--- Display "Success message ---> > > > > > > <p><b>Thanks for waiting!</b></p> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hope this helps!!! > > > > > > > > > > > > Peter Bagnato > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > > > > Sent: Friday, February 14, 2003 10:35 PM > > > > > > To: CF-Talk > > > > > > Subject: Re: uploading progress bar > > > > > > > > > > > > > > > > > > I caught this thread about half way but count me in too (also > > > > > > curious). > > > > > > > > > > > > -Novak > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Dave Lyons" <[EMAIL PROTECTED]> > > > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > > Sent: Friday, February 14, 2003 7:09 PM > > > > > > Subject: Re: uploading progress bar > > > > > > > > > > > > > > > > > > > ok > > > > > > > if you didnt get it let me know > > > > > > > dont forget to let me know how it works > > > > > > > > > > > > > > i'd like to see you guys came up with what ben came up with > > > > > > > > > > > > > > > > > > > > > Dave > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Chuck Brockman" <[EMAIL PROTECTED]> > > > > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > > > Sent: Friday, February 14, 2003 9:15 PM > > > > > > > Subject: RE: uploading progress bar > > > > > > > > > > > > > > > > > > > > > > Me too!! > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > From: Charlie Griefer [mailto:[EMAIL PROTECTED]] > > > > > > > > Sent: Friday, February 14, 2003 9:04 PM > > > > > > > > To: CF-Talk > > > > > > > > Subject: RE: uploading progress bar > > > > > > > > > > > > > > > > > > > > > > > > yeah, count me in (curiousity got the better of me) :P > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > From: Terry [mailto:[EMAIL PROTECTED]] > > > > > > > > Sent: Friday, February 14, 2003 6:52 PM > > > > > > > > To: CF-Talk > > > > > > > > Subject: Re: uploading progress bar > > > > > > > > > > > > > > > > > > > > > > > > I'd like to see it too > > > > > > > > > > > > > > > > *********** REPLY SEPARATOR *********** > > > > > > > > > > > > > > > > On 2/14/2003 at 8:32 PM Ewok wrote: > > > > > > > > > > > > > > > > >all cfm??? can i see can i see?? > > > > > > > > > > > > > > > > > >----- Original Message ----- > > > > > > > > >From: "Dave Lyons" <[EMAIL PROTECTED]> > > > > > > > > >To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > > > > >Sent: Friday, February 14, 2003 3:03 PM > > > > > > > > >Subject: Re: uploading progress bar > > > > > > > > > > > > > > > > > > > > > > > > > > >> im pretty sure its all cfm ben > > > > > > > > >> > > > > > > > > >> how was your short drive home last night > > > > > > > > >> > > > > > > > > >> Dave > > > > > > > > >> > > > > > > > > >> ----- Original Message ----- > > > > > > > > >> From: "Ben Doom" <[EMAIL PROTECTED]> > > > > > > > > >> To: "CF-Talk" <[EMAIL PROTECTED]> > > > > > > > > >> Sent: Friday, February 14, 2003 2:58 PM > > > > > > > > >> Subject: RE: uploading progress bar > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > Offhand, do you know what technologies this uses? If > > > > > > > > >> > it's using java > > > > > > > > >or > > > > > > > > >> > javascript, I'd really like to see it. > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > -- Ben Doom > > > > > > > > >> > Programmer & General Lackey > > > > > > > > >> > Moonbow Software, Inc > > > > > > > > >> > > > > > > > > > >> > : -----Original Message----- > > > > > > > > >> > : From: Dave Lyons [mailto:[EMAIL PROTECTED]] > > > > > > > > >> > : Sent: Friday, February 14, 2003 2:28 PM > > > > > > > > >> > : To: CF-Talk > > > > > > > > >> > : Subject: uploading progress bar > > > > > > > > >> > : > > > > > > > > >> > : > > > > > > > > >> > : I have scene a lot of people ask for an uploading > > > > > > > > >> > progress bar > > > > > > > > >> > : and I actually have one. > > > > > > > > >> > : I really don't have time to give it a try but if any > > > > > > > > >> > of you > > > > > want > > > > > > > > >> > : to try it out and let me know how it works, I'd be > > > > > > > > >> > glad to send > > > > > > > > >> > : it to you. I would really like to know if its worth > > > > > > > > >> > while or > > > > > not > > > > > > > > >> > : before I waste several hours trying to figure it > > > > > > > > >> > out:) > > > > > > > > >> > : > > > > > > > > >> > : dave > > > > > > > > >> > : <!--- doesn't know jack about cfm ---> > > > > > > > > >> > : > > > > > > > > >> > : > > > > > > > > >> > : > > > > > > > > >> > : > > > > > > > > >> > : > > > > > > > > >> > : > > > > > > > > >> > : > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4