Easy Tutorial
❮ Met Write Response Met Delete Folder ❯

ASP Expires Property



The Expires property sets the time for which the page is cached before it becomes invalid. If the user returns to the same page before it expires, the cached version will be displayed.

Syntax

Parameter Description
number Time before the page expires (in minutes)

Examples

Example 1

The following code indicates that the page will not be cached:

Example 2

The following code indicates that the page will expire after 1440 minutes (24 hours):


❮ Met Write Response Met Delete Folder ❯