You can see the headers by getting CF to display them after doing a CFHTTP. 
Try this

Put the following code in a file in the web  root:
<html><head><title></title></head>
<body>
<cfhttp url="http://#cgi.server_name#:#cgi.server_port#/x.cfm"; 
method="post">
<cfhttpparam name="test" type="FORMFIELD" value="2">
</cfhttp>

<cfdump var="#CFHTTP.ResponseHeader#">
</body>
</html>


Then place a file called x.cfm in the web root, that just does something 
simple like
<cfset x=Form.test>


Then run the first file. You should get a dump of the HTTP headers that were 
sent back. What headers do you get?

Cheers,
Mark





>From: Brian Scandale <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: RE: CFMX caching...
>Date: Wed, 10 Jul 2002 10:52:25 -0700
>
>Just noticed that the included header from my last post was stripped out 
>because it contained a cut and paste of the header... htlm,javascript and 
>all... I'll try again with the javascript pulled out and the tags mangled.
>
>----- the top of the file with the header ----
>!-- Application -->
>!-- index -->
>html>head>
>title>WIPtrac - WORK IN PROCESS Mfg Execution Systems/title>
>link rel="STYLESHEET" type="text/css" href="msie.css">
>meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>/head>
>body leftmargin="0" topmargin="0" onLoad="firstFocus()">
>---------------- end ----------
>
>just a normal looking header section.
>
>
>At 01:28 AM 7/10/02, you wrote:
> >At 12:55 AM 7/10/02, you wrote:
> >>The first question you have to ask yourself is, what changed?
> >
> >Just pulled CF5 off a dev machine and put CFMX up... then the trouble 
>started.
> >the same code still works well on a CF5 production machine.
> >
> >>Are you
> >>sure the only difference is CFMX? What web server are you using?
> >
> >Still using the same ole apache that was being used with CF5... but now 
>the annoying RePost Messages all over the place!!! Very annoying.
> >
> >The production machine is IIS and CF5
> >
> >
> >> Are you
> >>now using CFMX's built-in web server instead of an external one like
> >>with CF 5?
> >>
> >>Generally speaking, page expiration is based on web server generated
> >>headers.
> >
> >Soooo Glad you asked. ;-) This is the header off the CFMX machine... 
>looks Just like the header off the CF5 machine with the exception of the 
>variation in the Javascript... CFMX now references the cfform scripts 
>rather than pasting them into the header.
> >
> ><!-- Application -->






______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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