Archive for the ‘pemrograman’ Category
PHP untuk no-cache
Berikut ini kode program PHP yang digunakan untuk menjamin no cache. Kode program ini dapat berjalan di IE, firefox dan Chrome. Terakhir dites tanggal 4 oktober 2011
session_start();
session_cache_limiter('private');
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Expires: 0");
PHP untuk no-cache
Berikut ini kode program PHP yang digunakan untuk menjamin no cache. Kode program ini dapat berjalan di IE, firefox dan Chrome. Terakhir dites tanggal 4 oktober 2011
session_start();
session_cache_limiter('private');
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Expires: 0");