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

Response.Expires Property

The Expires property indicates the amount of time that the page can be cached by the user's browser.

Syntax
Response.Expires = (number)

Parameters
number

Specifies the number of minutes until the page expires.


Remarks

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


Example
<% Response.Expires = 30 ' Sets the page to expire in 30 minutes %>

Applies To
Response Object