asp.net.ph

Response.Expires Property

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 );

Property Value

The number of minutes before the page expires.

Remarks

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.

See Also

HttpResponse Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph