Re: Keep from using cache
| From: | Matt M. | Date: | Fri, 27 Aug 2004 04:18:50 +0000 |
| Subject: | Re: Keep from using cache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194892@lists.php.net to get a copy of this message | ||
> Here's the problem...
> After a deletion, when the question list page is reloaded, the browser uses
> the cached version of the page and the question which was just deleted is
> still displayed. If you refresh the page, the question disappears. So, I
> know that the deletion is working. I just need to know how to force the
> browser to NOT use the cached version of the page.
try these
header("Cache-Control: private");
header("Pragma: no-cache");