You are here: Re: Disabling browser caching « All PHP « IT news, forums, messages
Re: Disabling browser caching

Posted by J.O. Aho on 12/10/05 21:34

Stefan Mueller wrote:
> Today I'm using
> <meta http-equiv = "pragma" content = "no-cache">
>
> However, if I call this PHP script over a proxy the time gets not updated.
> I always have to press Shift + Reload.
>
> A colleague told me that I have to program the no-caching-command somehow
> within the http header.
> How to do that and does this really solve my problem?

<?PHP
Header('Cache-Control: no-cache');
Header('Pragma: no-cache');
?>


//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация