note 32934 added to function.header
| From: | pdousa at kerio dot com | Date: | Wed, 11 Jun 2003 11:09:18 +0000 |
| Subject: | note 32934 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50166@lists.php.net to get a copy of this message | ||
If you want your page not to be cached, be careful with this:
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// always modified
In case the server time is wrong (in the past), browsers may cache the page and even Reload
doesn't help. The problem appeared when I upgraded to Apache 2 + PHP 4.3.1 (Linux).
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32934
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32934&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32934&report=yes