HttpResponseWrapper.Expires Property


Gets or sets the number of minutes before a page that is cached on the client or proxy expires. If the user returns to the same page before it expires, the cached version is displayed. Expires is provided for compatibility with earlier versions of ASP.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public override int Expires { get; set; }

Property Value

Type: System.Int32

The number of minutes before the page expires.

.NET Framework
Available since 3.5
Return to top