Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP ExpiresAbsolute Property

ASP ExpiresAbsolute Property


Response Object Reference Complete Response object reference manual


The ExpiresAbsolute property sets the date and time when a cached page expires in the browser. If a user returns to the same page before this date/time, the cached version is displayed.

Syntax

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

Parameters Description
date Specifies the expiration date of the page.

If this argument is not specified, the page expires at the specified time on the day the script runs.

time Specifies the expiration time of the page.

If this argument is not specified, the page expires at midnight of the specified date.

Example

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

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


Response Object Reference Complete Response object reference manual