Ed,

This is because the behavior of cfflush is to send a partial buffer
(including the header) to the browser, whereas the behavior of  cflocation
is to alter the headers and redirect the browser. Since cffush has already
sent headers to the browser, cflocation cannot "prepend" headers to the
buffer as it needs to.... 

-Mark

P.S. ... Sorry I'm late to this thread or I could have saved you a headache
:)

Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com


-----Original Message-----
From: Edward Chanter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 12, 2006 8:01 AM
To: CF-Linux
Subject: RE: Totally bizarre

Problem solved. There was a <cfflush> tag where coldfusion didn't like it.
Apparently if I embed a <cflocation> tag after a <cfflush> tag the
<cflocation> tag stops working. You learn something new every day :-)

> -----Original Message-----
> From: Edward Chanter [mailto:[EMAIL PROTECTED]
> Sent: 12 December 2006 11:32
> To: CF-Linux
> Subject: Totally bizarre
> 
> Dear All,
> 
> Has anyone had a <cflocation> tag simply stop working in certain 
> situations and servers? I have and it's bizarre. The tag is directing 
> to a page called dynamically from the dbase and this works most of the 
> time. But one tag on one page has simply stopped doing what it's 
> supposed to. I didn't make any changes to the code or the server and 
> the same page works fine on a different box.
> 
> It's a long shot but I'm wondering if anyone has seen anything like 
> this before?
> 
> best wishes,
>  
>       -= Ed
>  
> --------------------------------------------
> Edward Chanter
> Technical Innovations Manager
> Collaborative Connections Ltd.
>  
> http://www.cc.uk.com/
> [EMAIL PROTECTED]
> Landline: 01273 832221
> Mobile: 07866 365282
> YIM!: jumperb
> MSN: [EMAIL PROTECTED]
> AIM: edwardchanter
> --------------------------------------------
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4239
Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14

Reply via email to