ASP ExpiresAbsolute Özellik
❮ Komple Yanıt Nesnesi Referansı
ExpiresAbsolute özelliği, tarayıcıda önbelleğe alınmış bir sayfanın süresinin dolacağı bir tarih ve saati ayarlar. Bir kullanıcı bu tarih/saatten önce aynı sayfaya dönerse, önbelleğe alınmış sürüm görüntülenir.
Sözdizimi
response.ExpiresAbsolute[=[date][time]]
Parameter | Description |
---|---|
date | Specifies the date on which the page will expire.
If this parameter is not specified, the page will expire at the specified time on the day that the script is run. |
time | Specifies the time at which the page will expire.
If this parameter is not specified, the page will expire at midnight of the specified day. |
Örnekler
Aşağıdaki kod, sayfanın 11 Ekim 2012 tarihinde saat 16:00'da sona ereceğini belirtir:
<%response.ExpiresAbsolute=#October 11,2012 16:00:00#%>
❮ Komple Yanıt Nesnesi Referansı