System.Web.HttpResponse.Expires Property

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. HttpResponse.Expires is provided for compatibility with earlier versions of ASP.

Syntax

public int Expires { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Expires, HttpResponse.ExpiresAbsolute and HttpResponse.CacheControl properties have been deprecated in favor of the methods of the System.Web.HttpCachePolicy class available through the HttpResponse.Cache intrinsic object to control the Internet Information Services (IIS) output cache and client caches.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0