Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox HTTP_CACHE_CONTROL Firefox Problem - Chrome no problem

  • 1 பதிலளி
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by Selim

Merhaba; Bu kod Google Chrome de çalışıyor en çok firefox kullanıyorum ama sizin tarayıcılarda çalışmıyor.

$yenilendi_mi = (isset($_SERVER['HTTP_CACHE_CONTROL']) && $_SERVER['HTTP_CACHE_CONTROL'] == 'max-age=0'); if($yenilendi_mi) { echo 'Bu sayfa yenilenmiş.'; } else { echo 'Bu sayfa ilk defa yeni geldi işlem yaptır.'; } ?>

Merhaba; Bu kod Google Chrome de çalışıyor en çok firefox kullanıyorum ama sizin tarayıcılarda çalışmıyor. <?php $yenilendi_mi = (isset($_SERVER['HTTP_CACHE_CONTROL']) && $_SERVER['HTTP_CACHE_CONTROL'] == 'max-age=0'); if($yenilendi_mi) { echo 'Bu sayfa yenilenmiş.'; } else { echo 'Bu sayfa ilk defa yeni geldi işlem yaptır.'; } ?>

All Replies (1)

Bu forumda yazılım geliştirmeyle ilgili destek veremiyoruz ama şu sayfayı incelemenizi öneririm.