แก้ไข

แชร์ผ่าน


HttpResponse.ExpiresAbsolute Property

Definition

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

public:
 property DateTime ExpiresAbsolute { DateTime get(); void set(DateTime value); };
public DateTime ExpiresAbsolute { get; set; }
member this.ExpiresAbsolute : DateTime with get, set
Public Property ExpiresAbsolute As DateTime

Property Value

The date and time at which the page expires.

Remarks

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 Internet Information Services (IIS) output cache and client caches.

Applies to