Hi,
I want to cache a PHP page privately for a week. What headers should I send to make it work both in Mozilla and IE?
I have set these headers, but those work only for IE:
<?php
$max_age=604800;
header("Date: ".gmdate("D, d M Y H:i:s",time()));
header("Cache-Control: private");
header("Cache-Control: max-age=$max_age",false);
header("Expires: ".gmdate("D, d M Y H:i:s",time()+$max_age)." GMT");
?>What are the correct headers?
-thanks, Eli
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

