Without seeing the code it's hard to tell.. But couldn't you just use
a header("Location: a.php"); after the insert statement? Or is that
too ugly of a hack? :)
It works for me on a project I'm working on.
On Jul 22, 2008, at 9:42 AM, Daniel Brown wrote:
On Tue, Jul 22, 2008 at 8:56 AM, Yeti <yeti@xxxxxxxxxx> 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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
japruim@xxxxxxxxxx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php