Net-informations.com
SiteMap  | About    

Remove the cache object in Asp.Net

Data in the ASP.NET cache is volatile — that is, it is not permanently stored. It might be automatically removed from the cache for one of these reasons:

  1. Because the cache is full.
  2. Because the item has expired.
  3. Because an item it is dependent on changes.

In addition to allowing items to be removed from the cache automatically , you can explicitly remove them. Cache object's Remove method can be used to remove data from the cache.

example

If the value in the key parameter is not found, returns null.









net-informations.com (C) 2018    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.