ASP Kedaluwarsa Properti Absolut
Referensi Objek Respons Lengkap
Properti ExpiresAbsolute menetapkan tanggal dan waktu ketika halaman yang di-cache di browser akan kedaluwarsa. Jika pengguna kembali ke halaman yang sama sebelum tanggal/waktu ini, versi cache akan ditampilkan.
Sintaksis
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. |
Contoh
Kode berikut menunjukkan bahwa halaman akan kedaluwarsa pada pukul 16:00 pada 11 Oktober 2012:
<%response.ExpiresAbsolute=#October 11,2012 16:00:00#%>
Referensi Objek Respons Lengkap