System.Web Namespace HttpResponse Class
Sets or retrieves 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. Expires is provided for compatiblility with previous versions of ASP.
[ VB ]
Public Property Expires As Integer
[ C# ]
public int Expires {get; set;}
[ C++ ]
public: __property int get_Expires ( );
public: __property void set_Expires ( int );
[ JScript ]
public function get Expires ( ) : int;
public function set Expires ( int );
The number of minutes before the page expires.
The Expires, ExpiresAbsolute 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.
HttpResponse Members