Re: Proxy problems
| From: | mojo jojo | Date: | Wed, 06 Mar 2002 08:10:52 +0000 |
| Subject: | Re: Proxy problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87435@lists.php.net to get a copy of this message | ||
Hi
Try adding the following to the top of your pages
<?
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT");
header("Cache-Control: no-cache,must-revalidate");
header("Pragma: no-cache");
?>
"Petre Agenbag" <internet@vsa.co.za> wrote in message
news:3C85C681.2000203@vsa.co.za...
> Hi
> I'm suspecting that I am having proxy problems with one of my PHP/MySQL
> websites.
> I am getting strange behaviour that ( at this point) seem only logical
> to be due to proxy servers on the net holding outdated pages.
> I would like to know if there is a way to force the bypass of a proxy
> server or to deal with it in some way on a server side ( php script
> method) as I cannot rely on the co-operation of the clients to disable
> proxy settings of their browsers.
>
> Can someone please help me with this?
> Thank you.
>
>