Gets or sets the time, in minutes, until cached information will be removed from the cache. Provided for ASP compatiblility. Use the Cache Property instead.
[Visual Basic] 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 Expires, ExpiresAbsolute, and CacheControl properties are provided for ASP compatibility only. Cache should be used instead.
HttpResponse Class | HttpResponse Members | System.Web Namespace