I need clear the response headers before my page is sent. How do i do that in coldfusion?
Here is the background to my problem:
I know what I need to do, but I haven't been able to find a way to clear the response headers.
attached is the response header from Fidler.
These two lines need to be removed. They come from the header.cfm page (which is automatically included implicitly from what I can tell). These lines have not been added in the page I am working with:
cache-control: private, no-store, must-revalidate
These lines are the ones I need to keep and have been added to the page I am working with:
cache-control: private, max-age=15
How do I get rid of the first two lines before adding the second two.
so basically I want to:
clear the cache-control values
clear the pragma values
<cfheader name="cache-control" value="private, max-age=15">
<cfheader name="pragma" value="">
Thanks for your help