Re: After INSERT form submit - Data doesn't refresh!

From: Date: Tue, 22 Jul 2008 13:42:43 +0000
Subject: Re: After INSERT form submit - Data doesn't refresh!
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-277167@lists.php.net to get a copy of this message
On Tue, Jul 22, 2008 at 8:56 AM, Yeti <yeti@myhich.com> wrote: > ok, in that case forget the Last-Modified or set it to the current date. > > > header('Last-Modified: '.gmdate('D, d M Y H:i:s', time()).' > GMT'); Expanding on this, keep in mind that some people may be as far ahead as GMT +1300. So if you want to use the Last-Modified HTTP/1.0 standard, you may want to try this: <?php header("Last-Modified: ".gmdate("D, d M Y H:i:s",strtotime("+3 days"))." GMT"); ?> As for turning off caching in his own browser, while it may fix the OP's problem on his machine, it by no means fixes the bug in general. Other users will still be faced with the same issue. -- </Daniel P. Brown> Better prices on dedicated servers: Intel 2.4GHz/60GB/512MB/2TB $49.99/mo. Intel 3.06GHz/80GB/1GB/2TB $59.99/mo. Dedicated servers, VPS, and hosting from $2.50/mo.

« previous php.general (#277167) next »