Also, don't forget this:
When using CFFLUSH you need to make sure that enough bytes are sent to
the browser on the first CFFLUSH, otherwise it won't render.
A work around is:
To add this to the top of the page:
<html>
<head>
<title>My Title</title>
</head>
<body>
<h2>My Heading</h2>
<cfoutput>#RepeatString(" ",250)#</cfoutput>
<cfflush>
I think the only important bit is the actual repeatstring() bit. There
is also an KB on Macromedia's website about it. The URL is:
http://www.macromedia.com/v1/handlers/index.cfm?id=21216&method=full
Hope this helps.
Cheers
Niklas
> -----Original Message-----
> From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 14, 2002 12:41 PM
> To: CFDeveloper Dev List
> Subject: [ cf-dev ] CFFLUSH
>
>
> OK - Never had a situation where I've needed to spit out so
> much info onto a
> page that CFFlush was needed to keep the page from "hanging",
> but now I have
> got that situation.
>
> I tried a couple of things :
>
> <!--- version one - to output every 10 bytes (taken from
> CFStudio help) --->
> <cfflush interval="10">
> <cfoutput query="myquery">
> stuff....
> </cfoutput>
>
> <!--- version two - to output every 10ish rows (made up by me) --->
> <cfoutput query="myquery">
> stuff...
> <cfset leftover = currentrow MOD 10>
> <cfif leftover eq 0><cfflush></cfif>
> </cfoutput>
>
> Neither seems to work. I always just get the whole damn list
> appearing all
> at once!
> Is this me or CFFlush thats not working right? Is there
> something about
> CFFlush and HTML tables?
>
> Regards
>
> Stephen
>
>
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]