We provide webhosting for thousands of domains.
Transfer your domains to us and join our satisfied customers.
Domains from 5,99€. Renewal for the same price.
Mo-Fr: 08:00-20:00
Sa-Su: 10:00-18:00
Mo-Fr: 08:00-16:30
If you transfer your domain to us, we pay transfer fee for you.
How to prevent the browser from caching?
To prevent the browser from caching, you can use this function:
function DisableBrowserCache() {
// Date in the past
header(""Expires: Mon, 26 Jul 1997 05:00:00 GMT"");
// Still modifying
header(""Last-Modified: "" . gmdate(""D, d M Y H:i:s""). "" GMT"");
// HTTP/1.1 = caching forbidden
header(""Cache-Control: no-store, no-cache, must-revalidate"");
header(""Cache-Control: post-check=0, pre-check=0"",false);
// HTTP/1.0 = caching forbidden
header(""Pragma: no-cache"");
}
This function has to be executed at the beginning of your script before any other output is sent.



Print page


