note 43005 added to function.session-cache-limiter

From: Date: Sun, 06 Jun 2004 19:18:47 +0000
Subject: note 43005 added to function.session-cache-limiter
Groups: php.notes 
Request: Send a blank email to php-notes+get-70676@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.session-cache-limiter.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43005 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43005&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43005&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70676) next »