to Ben:

sorry, seems like i am a bit slow at past midnight. i got what you did
mean there and it does work.
Thank's a lot!

Ed.

--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
>
> Just wrap it a UDF that returns a boolean
> 
> 
> <cfif IsFlushInitiated()>
> 
> .....
> 
> </cfif> 
> 
> 
> 
> ......................
> Ben Nadel
> Certified Advanced ColdFusion Developer
> www.bennadel.com
>  
> 
> -----Original Message-----
> From: Eduard Tabara [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 04, 2006 4:47 PM
> To: CF-Talk
> Subject: Re: is cfflush above?
> 
> yeah, setting a request variable will help.. i thought about that too.
> but the idea was to find out if there was a cfflush in the code above
> without to have a need to set any specific variables. i am looking more
> into something like getting in a variable all the "above" code (let's
> say so: ANY "above" code. so no additional requests variable setup or
> things like that will work) or let's say the list of tags that was used
> previously in the code, etc. it should be more hm something that can be
> used for example in onRequestEnd (or in
> onRequest) method of application.cfc. So, no matter what code will be
> executed, in onRequestEnd to be possible to know if that "cfflush" tag
> has been used or no.
> 
> Ed
> 
> --- In [EMAIL PROTECTED], archive@ wrote:
> >
> >  
> > Try rockin' in trial and error?
> > 
> > 
> > <cftry>
> >     <!--- Try set a status code. --->
> >     <cfheader 
> >             statuscode="200" 
> >             statustext="OK"
> >             />
> >             
> >     <cfset REQUEST.FlushInitiated = false />
> >             
> >     <cfcatch>
> >     
> >             <!--- The CFHeader threw an error. CFFlush has already
> been run. 
> > --->
> >             <cfset REQUEST.FlushInitiated = true />
> >     
> >     </cfcatch>
> > </cftry>
> > 
> > 
> > ......................
> > Ben Nadel
> > Certified Advanced ColdFusion Developer www.bennadel.com
> >  
> > 
> > -----Original Message-----
> > From: Ian Skinner [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 04, 2006 2:14 PM
> > To: CF-Talk
> > Subject: RE: is cfflush above?
> > 
> > maybe there is an undocumented way to get the cf code to be compiled? 
> > so that it to can be searched for the "cfflush" tag.
> > 
> > Thx in advance,
> > Ed
> > 
> > Well, I don't know why you would want to compile something.  It would 
> > be fairly trivial, if not ideal, to build something that will search 
> > for the cfflush tag with standard ColdFusion file and string
> capabilities.
> > 
> > Why one would want to do this is beyond my comprehension.
> > 
> > 
> > --------------
> > Ian Skinner
> > Web Programmer
> > BloodSource
> > www.BloodSource.org
> > Sacramento, CA
> > 
> > ---------
> > | 1 |   |
> > ---------  Binary Soduko
> > |   |   |
> > ---------
> >  
> > "C code. C code run. Run code run. Please!"
> > - Cynthia Dunning
> > 
> > Confidentiality Notice:  This message including any attachments is for
> 
> > the sole use of the intended
> > recipient(s) and may contain confidential and privileged information.
> > Any unauthorized review, use, disclosure or distribution is
> prohibited.
> > If you are not the intended recipient, please contact the sender and 
> > delete any copies of this message.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255536
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to