I included them in the application.cfm of a site (maybe not a best practice,
but it was a post hoc fix) and it worked fine.  I'll let others speak to the
wisdom of that, though.

Anyway, unless I've missunderstood, these send a HTTP response header, so
they go out before the <head> block.  IIRC, you have to put them within the
first 4000 chars, but otherwise it doesn't really matter.

In any case, I skipped the meta tags.  No one has complained yet.

--  Ben Doom
    Programmer & General Lackey
    Moonbow Software, Inc

: -----Original Message-----
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
: Sent: Monday, June 23, 2003 4:54 PM
: To: CF-Talk
: Subject: <cfheader> and caching
:
:
: I'm trying to keep my pages from caching in visitors browsers and/or proxy
: servers. I found the following code online that uses cfheader:
:
: <CFHEADER NAME="Expires" VALUE="Mon, 06 Jan 1990 00:00:01 GMT">
: <CFHEADER NAME="Pragma" VALUE="no-cache">
: <CFHEADER NAME="cache-control" VALUE="no-cache">
:
: Do I have to put that code in the <head></head> section of my
: pages, or can
: it just go at the top? Can I put it in my Application.cfm file? Should I
: bother with META tags too? Has anyone had any experiences with this that
: could be helpful?
:
: Thanks,
: Jonathan
: ________________________________________________________
: Jonathan Mauney
: Manager, Digital Media Properties / Web Application Developer
: 1110 WBT AM / 107.9 the LINK (WLNK-FM) / Jefferson-Pilot Radio Network
: Jefferson-Pilot Communications Co.
: One Julian Price Place
: Charlotte, North Carolina 28208
:
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to