HttpResponseWrapper.Expires Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

override Expires : int with get, set

Property Value

Type: System.Int32

The number of minutes before the page expires.

.NET Framework
Available since 3.5
Return to top
Show: