System.Web Namespace HttpCachePolicy Class
Sets the Cache-Control header to one of the values of HttpCacheability.
[ VB ] Overloads Public Sub SetCacheability ( _ ByVal cacheability As HttpCacheability _ ) [ C# ] public void SetCacheability ( HttpCacheability cacheability ); [ C++ ] public: void SetCacheability ( HttpCacheability cacheability ); [ JScript ] public function SetCacheability ( cacheability : HttpCacheability );
The following example sets the Cache-Control header to the enumerated value no-cache.
Response.Cache.SetCacheability ( HttpCacheability.NoCache );
Response.Cache.SetCacheability ( HttpCacheability.NoCache )
HttpCachePolicy Members HttpCachePolicy.SetCacheability Overload List
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note