ASP ExpiresAbsolute Katangian

response Object Reference Manual

Ang ExpiresAbsolute na katangian ay nagtatakda ng petsa at oras ng pagkawala ng cache ng pahina sa browser. Kung ang user ay bumalik sa parehong pahina bago ang petsa / oras, ang nakakache na bersyon ang ipapakita.

Gramata:

response.ExpiresAbsolute[=[date][time]]
Parameter Paglalarawan
date

Tinataya ang petsa ng pagkawala ng pahina.

Kung hindi tinataya ang parameter na ito, ang pahina ay magiging hindi magagamit sa oras na nilagay ng script sa araw na ito.

time

Specify the expiration time of the page.

If this parameter is not specified, the page will expire at midnight on the specified date.

Example

The following code indicates that the page will expire at 4:00 PM on October 11, 2003:

<%response.ExpiresAbsolute=#October 11,2003 16:00:00#%>

response Object Reference Manual