Thanks for clearing it up.


I read some of the archived messages about preventing caching of webpages.
Is it better to do this via CFheaders, metatags, or both?







"Aaron Johnson" <[EMAIL PROTECTED]> on 12/18/2000 12:17:22 PM

To:   [EMAIL PROTECTED]
cc:   Michael She/TOR/PBC

Subject:  RE: CFHeader




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

I'm assuming that you are talking about the <cfheader> tag and not
the <cfhtmlhead> tag... totally different monsters.

<cfheader> does not generate meta tags, but rather enables you to
write custom response headers to the client:

If you have a network packet sniffer of some sort you can check this
out...

I created a test script and then view the HTTP response from the
server using Microsofts Network Monitor, which comes with MS 2000
Server & NT 4.0.

My code was as follows:

<cfheader name="test" value="1">

<html>
<head>
     <title>
          test of cfheader
     </title>
</head>
<body>
This is the body of my page.
</body>
</html>



When I view the response from the server using NM, I see this:


**************************************************

Content-type: text/html
Page-Completion-Status: Normal
test: 1
Page-Completion-Status: Normal

<html>
<head>
     <title>
          test of cfheader
     </title>
</head>
<body>
This is the body of my page.
</body>
</html>

*************************************************

The <cfhtmlhead> does allow you to write text into the <head> portion
of your HTML document, which would provide your meta tag
functionality.

HTH!

Aaron Johnson, MCSE, MCP+I
Allaire Certified ColdFusion Developer
MINDSEYE, Inc.
<phn>617.350.0339
<fax>617.350.8884
<icq>66172567
[EMAIL PROTECTED]

___________________________________________
"Never forget that only dead fish swim with
the stream." -- Malcolm Muggeridge
___________________________________________





- -----Original Message-----
From: Michael She [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 10:50 AM
To: CF-Talk
Subject: CFHeader





Does CF header generate meta tags, or are HTTP responses something
      different?



Thanks.



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBOj5GoTp1Dv+56bwcEQLGmACcCBxn6xZ/keCJRri8DIE+682QqYkAn1de
ArIdIP4QQTdhNSPgH+zjDn6k
=ltL0
-----END PGP SIGNATURE-----






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

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to