HttpResponse.Expires Property
.NET Framework 3.0
Gets or sets the number of minutes before a page cached on a browser expires. If the user returns to the same page before it expires, the cached version is displayed. Expires is provided for compatibility with previous versions of ASP.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Property Expires As Integer 'Usage Dim instance As HttpResponse Dim value As Integer value = instance.Expires instance.Expires = value
/** @property */ public int get_Expires () /** @property */ public void set_Expires (int value)
public function get Expires () : int public function set Expires (value : int)
Not applicable.
Property Value
The number of minutes before the page expires.The Expires, ExpiresAbsolute and CacheControl properties have been deprecated in favor of the methods of the HttpCachePolicy class available through the Cache intrinsic object to control the IIS output cache and client caches.
Community Additions
ADD
Show: