> Hello All,
> I am  trying to understand the functionality of
> <cfheader>.
>
> Is this used to expire pages?
> When is it best to use it?

CFHEADER is used to generate HTTP response headers. You can use it to send
page expiration information, or anything else that can be sent in an HTTP
response header.

Whenever a browser requests a page from a server, the server sends an HTTP
response header, followed by the response body, which is the stream of HTML
that your browser renders and displays. There's all kinds of stuff in the
HTTP response headers, and most of that data is provided automatically by
the web server. Here's the HTTP response header and part of the body from
the Allaire web site:

HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Fri, 28 Jul 2000 21:41:25 GMT
Content-type: text/html
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: CFID=129460; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/;
Set-Cookie: CFTOKEN=29519789; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/;
Set-Cookie: UID=B52B245A%2D635F%2D11D4%2DB2FB00508B94FD50; expires=Sun,
27-Sep-2037 00:00:00 GMT; path=/; domain=.allaire.com;

<!--Application.cfm-->


<!--/Application.cfm-->

<!--AllaireWebHeader.cfm-->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
...

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to