Re: One more question - php & mysql
It is most likely going to be just your internet explorer storing a copy of your page. Go to tools -> internet options -> Settings -> and change the option.
PHP pages arn't normally cached by other servers, (unless you work hard to do it) so this isn't nomally a problem unless you expect to update the data in real time (e.g. a shoping cart page).
you can do it by adding the following lines to the VERY START of your php files, but these will cause the browser to re-request the page at every view - i.e. even if they are just clicking the back button to get to the page.
<?
header("Cache-control: no-cache");
header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT");
?>
(you may need to replace <? ?> with what ever php start and end flags you are using)
Again, I'd only do this in certain situations as it will cause more request to the site, therefore a slower browsing experience.
|