Let me give an example here so people know I'm not talking out my butt.  I 
went through extensive research to figure this all out and then scrapped 
it because it didn't work the way everyone thinks it does.

A client uploads a .txt file and the cfserver has to read the .txt file 
and parse.

The requirements were:
-The corporate brandings be visible.
-The user visually sees what's going on -- In this case, I had [0] of 
[records] displayed at all times and ... I got this working for _EACH_ 
record following Ray's tutorial and setting the interval to -1- (yes, it's 
harder on the server, but by damn, it looks cool seeing it count).

The problem was... the way our site is structured, our headers / footers 
are contained with in a custom tag:

<CF_TheShell>

Application here, abstracted from the look and feel of the site.

</CF_TheShell>

CFFLUSH doesn't like that.  Even when I broke the footer out to it's own 
CFINCLUDE file (header.cfm / footer.cfm) ... it still look stupid as it 
would display a half finished page and then spit out the rest afterwards.  
CFFLUSH really is a useless tag unless you're trying to do a very _basic_ 
thing with it.  Anything fancy beyond the basic will disappoint you.  
Macromedia should flesh it out some more, but I'm sure they're answer 
would be "use Flash MX, have a nice day."


~Todd


On Tue, 28 May 2002, Andre Turrettini wrote:

> It all really depends what youre doing with this 1 minute page.  if youre
> doing something in your db that you can query, then you can do so in a
> repeating manner and display the results each repeat. However, if its just a
> long query, then you cant do much other than check the indexes and try to
> make it go faster.  DRE
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 28, 2002 10:57 AM
> To: CF-Talk
> Subject: RE: CFEXECUTE
> 
> 
> Yeah, out in the real world being all-browser compatible is a must and 
> that doesn't fly. :(  Not to mention that the content that was 'flushed' 
> is now in a minature IFRAME window.
> 
> Have you worked with CFFLUSH?  It's a cool feature, but ... it doesn't 
> really work like people thinks it does.  There's no way to query up a 
> result set (complete with progress bars) and have the next page display 
> that result set.  That would be useful.
> 
> ~Todd
> 
> On Tue, 28 May 2002, Ben Arledge wrote:
> 
> > If only IE is required, you could use an IFRAME. This way you could have
> > CFFLUSH on its own page and still keep your site design intact.
> > 
> > Cheers,
> > Ben
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> > Sent: May 28, 2002 10:41 AM
> > To: CF-Talk
> > Subject: RE: CFEXECUTE
> > 
> > There's a drawback with CFFLUSH tho.  You can't wrap any custom tags 
> > around it and ... the footer of the page will not show up until the
> > whole 
> > page has been flushed.
> > 
> > For example:
> > <CF_MySHELL>
> > --Flash tag here
> > </CF_MyShell>
> > 
> > This won't work at all.  It won't work with any <cfoutput>flush 
> > tag</cfoutput> either.  So, to me... CFFLUSH is practically useless
> > unless 
> > it's on it's own blank page and ... the organization that I work for, 
> > that's not good enough, they want client branding to be on every page, 
> > etc.
> > 
> > Ray Camden has a tutorial on the macromedia site:
> > http://www.macromedia.com/v1/handlers/index.cfm?id=21216&method=full
> > 
> > ~Todd
> > 
> > 
> > 
> > 
> > On Tue, 28 May 2002, phumes1 wrote:
> > 
> > > At 05:27 PM 5/28/2002 +0100, you wrote:
> > > > > Is there a way to display the output from the cfexecute while
> > > > > the program is running to another window?
> > > > > My program can take over a minute to run and I want the
> > > > > operator to see whats happening in the log file.
> > > > > Is there a way to incorporate a "Working.." completion bar?
> > > > > Similar to installing software 0 - 100% bar?
> > > >
> > > >Instead of a 0-100% bar (as you never know how long it's going to
> > take),
> > > >why not have a progress motion bar
> > > >
> > > >Basically something that moves back and forwards, sort of like the
> > light
> > > >on the front of the Knight Rider car <g>
> > > >
> > > >Anyways, to do this, CFOUTPUT some JavaScript which calls a function
> > to
> > > >update the bar and then CFFLUSH it
> > > 
> > > Are there any examples out there?
> > > 
> > > 
> > > 
> > > >Philip Arnold
> > > >Technical Director
> > > >Certified ColdFusion Developer
> > > >ASP Multimedia Limited
> > > >Switchboard: +44 (0)20 8680 8099
> > > >Fax: +44 (0)20 8686 7911
> > > >
> > > >www.aspmedia.co.uk
> > > >www.aspevents.net
> > > >
> > > >An ISO9001 registered company.
> > > >
> > >
> > >**********************************************************************
> > > >This email and any files transmitted with it are confidential and
> > > >intended solely for the use of the individual or entity to whom they
> > > >are addressed. If you have received this email in error please notify
> > > >the system manager.
> > >
> > >**********************************************************************
> > > >
> > > >
> > > >
> > > 
> > 
> > 
> 
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to