• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

cfflush

Synopsis

<cfflush>

Flushes all currently available content to the client. cfflush is typically used within loops or output queries to send results back to the client in incremental chunks. The first time a cfflush tag is encountered on a page, it sends all the HTTP headers for the request along with any generated content up to the position in the template where the tag is encountered. Successive cfflush tags return any content generated since the previous flush. Once a cfflush tag has been used in a template, you can’t use any other CFML tags that write to the HTTP header; doing so causes ColdFusion to throw an error because the header has already been sent to the browser. These tags include cfcontent, cfcookie,


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint