Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

ASP Expires Property

  • Last Updated : 31 Jul, 2020

The ASP Expires Property is used for setting the duration of time for the page will be expired before it catches on v browser. It is the same page returned by the user before it expires, the cached version is displayed. 



Parameter Values: It contains a numeric value which represents the duration of time before the page expired in terms of minutes. 

Example 1: Below code illustrates to use a negative number for the Expires property to expire the response immediately.


<% Response.Expires = -1 %> 

Example 2: Below code illustrates that the page will expire after 360 minutes.


<% Response.Expires = 360 %>
My Personal Notes arrow_drop_up
Recommended Articles
Page :