note 43005 rejected from function.session-cache-limiter by vincent
| From: | vincent@php.net | Date: | Thu, 10 Jun 2004 07:07:34 +0000 |
| Subject: | note 43005 rejected from function.session-cache-limiter by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-70827@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster@hatw.de
----
Hi,
I have e problem.
Today i use the follow header cache control
$expire = 9999999; // Lebensdauer der Seite im Cache in Minuten
$exp_gmt = gmdate("D, d M Y H:i:s", time() + $expire * 60) ." GMT";
$mod_gmt = gmdate("D, d M Y H:i:s", getlastmod()) ." GMT";
header("Expires: " . $exp_gmt);
header("Last-Modified: " . $mod_gmt);
header("Cache-Control: privat, max-age=" . $expire * 60);
header("Content-Type: text/vnd.wap.wml");
print("\n\n<?xml version=\"1.0\"?>\n");
At all clients, it works fantastic, but on the NOKIA 6220, all pages are reloading, if somebody
clicks it on. On the other mobilephones, the page comes from the cache and doesn't consume
traffic and gprs cost.
Could anybody help me please?
thx
bye