Matthew,

Yes, a lot of code is being generated (as Jochem pointed out, 2MB).

> > What code is run before
> > <CFIF CheckCache.RecordCount>
> > <cflocation url="/cache/#checkcache.file#">

Jochem,

The only code being written prior to that is a query called checkcache.
However, CFHTTP is run on the first access to that query result page. The
header is generated either by an exessively long page (why I don't know),
the CFHTTP, a combination of the two, or some web server setting or filter.

Thanks again!
Andrew



> -----Original Message-----
> From: Matthew Walker [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 28, 2002 4:06 PM
> To: CF-Talk
> Subject: RE: What are these, headers?
>
>
> I've had this. It happens when a lot of code is output before the
> cflocation. If you can reduce the amount of code it should
> come right. For
> example, I resolved it by moving a large Javascript block
> from the top to
> the bottom. Any help?
>
>
> Regards,
> Matthew Walker
> /*
>       Cabbage Tree Creative Ltd
>       Christchurch - New Zealand
>
>       http://www.matthewwalker.net.nz/
>       http://www.cabbagetree.co.nz/
> */
>
>
> > -----Original Message-----
> > From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, 1 March 2002 10:39 am
> > To: CF-Talk
> > Subject: Re: What are these, headers?
> >
> >
> > Andrew Peterson wrote:
> > > Hi
> > > The text below is randomly appearing at the top of some of
> > my web pages:
> > > HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Thu, 28 Feb
> > 2002 17:45:56
> > > GMT Content-Type: text/html Accept-Ranges: bytes
> > Last-Modified: Thu, 28 Feb
> > > 2002 17:44:15 GMT ETag: "90e1e5897fc0c11:1df0"
> > Content-Length: 1991537
> > > What is this?
> >
> > Standard HTML headers (although I wouldn't want to call the content
> > length standard, 2MB is a lot :) ).
> >
> >
> > > This text seems to appear only when I am using CFLocation to
> > > redirect to a static html page that I created through
> > CFHTTP, and it occurs
> > > randomly.
> >
> > Thing to check is if this text is actually inside the static
> > HTML page
> > (quite unlikely because of the rest of the symptoms, but
> > check anyway).
> >
> >
> > > However, I've learned through testing that if I use a Meta
> > Refresh instead
> > > of a CFLocate, text does not appear (i.e. problem solved).
> >
> > This makes me believe you have a problem that is bigger as this.
> > Somewhere in the webserver/cfserver setup something goes wrong which
> > means that the server is adding the HTTP headers twice. And
> that is a
> > problem because in that case the second occurence ends up
> in the page
> > visible to the user.
> >
> > What code is run before
> > <CFIF CheckCache.RecordCount>
> > <cflocation url="/cache/#checkcache.file#">
> >
> > Anything that does something with headers/pageflow
> (cfflush, cfcache,
> > cfcontent, cfheader, cflocation etc.)? What happens if you
> > remove that
> > code? Try putting a cfabort after the cflocation? Did you by
> > any chance
> > install URLScan recently? Which ISAPI filters do you have? Are you
> > running IIS HTTP compression?
> >
> > Jochem
> >
> 
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to