Disable Client side Cache.

Gopesh9
Posted by Gopesh9 under C# category on | Points: 40 | Views : 1688
Suppose you dont want that the client uses cache for some security reasons or something.Then you can disable the client side cache by using the following code snippet.

Response.Cache.SetCacheability(HttpCacheability.NoCache);

Comments or Responses

Login to post response