AAAAAAAH CF5 introduces cfflush....



-----Original Message-----
From:   BOROVOY Noam [SMTP:[EMAIL PROTECTED]]
Sent:   21 March 2001 15:18
To:     Fusebox
Subject:        RE: CFSAVECONTENT in CF 5.0

Erki, 
as neat as it might be sending some data to the browser and continuing CF
doesn't.
Data is only sent to the browser once all server side processing is done.

Anyway when is CF 5 planned for release?

Noam

        ----------
        From:  Erki Esken [SMTP:[EMAIL PROTECTED]]
        Sent:  Wednesday, 21 March 2001 14:42
        To:  Fusebox
        Subject:  Re: CFSAVECONTENT in CF 5.0

        ...

        Anyway, I think that adding an attribute, lets say "clearcontent",
that is
        by default set to "yes", to this tag would make sense. I think it
could be
        useful for an example with the new <cfflush> tag.

        Example: User is doing a search, you generate page header, wrap it
inside
        <cfsavecontent variable="header" clearcontent="no"> and also output
text a
        la "Please wait, searching...". Then when search finishes, you
<cfflush>
        and use the #header# variable to output header again (you don't have
to
        generate it again!) and output search results. I know that
"clearcontent"
        attributes isn't really needed, you can output the same #header#
variable
        just after ending </cfsavecontent> but it could save some processing
        power, I think.

        Erki
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to