Reply to Disabling browser caching

Your name:

Reply:


Posted by Stefan Mueller on 12/10/05 21:22

Today I'm using
<html>
<head>
<meta http-equiv = "pragma" content = "no-cache">
</head>


This prevent the browser to cache the page. So each time I call the
following PHP script
<?php
echo date("d.m.Y") . " / " . date("H:i:s") . "<br>";
?>
the current time will be displayed.

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?

Stefan

[Back to original 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

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