This documentation is archived and is not being maintained.

HttpResponse.ExpiresAbsolute Property

Gets or sets the absolute date and time at which to remove cached information from the cache. ExpiresAbsolute is provided for compatibility with previous versions of ASP.

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

public DateTime ExpiresAbsolute { get; set; }
/** @property */
public DateTime get_ExpiresAbsolute ()

/** @property */
public void set_ExpiresAbsolute (DateTime value)

public function get ExpiresAbsolute () : DateTime

public function set ExpiresAbsolute (value : DateTime)

Not applicable.

Property Value

The date and time at which the page expires.

The ExpiresAbsolute, Expires 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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0