|
From: Anton P. <ape...@so...> - 2003-08-05 07:16:48
|
Hello all,
I run into the following trouble: sometimes the content of my web-pages is
old.
I know in PHP i could use
---------------
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// always modified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
-----------
for keeping all the pages fresh.
So, i think it will work here, and i am interesting - where and how should i
print these http-headers? Is there some special function in PageKit for
dealing with http-headers?
Thanks,
Anton Permyakov.
http://www.collectornetwork.com
|