Home / Software / Tips and Tricks / How can I remove all the server cache objects?

How can I remove all the server cache objects?

Updated:  10/18/2010 16:10 PM
Author:  Shiju Mathews

Status:    Resolved.


System.Web.Caching namespace contains Cache class Implements the cache for a Web application. This class cannot be inherited.

Cache.GetEnumerator Method Retrieves a dictionary enumerator used to iterate through the key settings and their values contained in the cache.

On Code Behind Add the following code.