ASP ExpiresAbsolute Attribute

response Object Reference Manual

The ExpiresAbsolute attribute sets the expiration date and time of the cached page on the browser. If the user returns to the same page before this date/time, the cached version will be displayed.

Syntax:

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

Specify the expiration date of the page.

If this parameter is not specified, the page will expire at the specified time on the day the script runs.

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