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
© 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