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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4