Help > Web Development > Reference > Scripting Objects > Response Object > ExpiresAbsolute

Response.ExpiresAbsolute Property

The ExpiresAbsolute property indicates the amount of time that the page can be cached by the user's browser, specified as a datetime.

Syntax
Response.ExpiresAbsolute = (date)

Parameters
date

Specifies the date/time when the page expires.


Remarks

Setting the ExpiresAbsolute property adds then HTTP header Expires to the response.


Example
<% Response.ExpiresAbsolute = DateAdd("n", 30, Now) ' Sets the page to expire in 30 minutes %>

Applies To
Response Object