How to remove cache object in asp.net?

Answer Posted / amey

For Each de As DictionaryEntry In HttpContext.Current.Cache

HttpContext.Current.Cache.Remove(DirectCast(de.Key, String))

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In Code-Behind class which kind of code (server or client) is found ?

655


What are the advantages and limitations of query string?

635


Do cookies store passwords?

575


Explain the difference between webfarm and webgardens in .net?

608


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1678






Explain the significance of routing? : asp.net mvc

616


What are the different kinds of assemblies?

579


What are the parts of an http response?

568


Explain the difference between panel and groupbox classes using .net?

547


What is state management in asp.net with example?

535


What is cached data phone?

583


Explain file-based dependency and key-based dependency.

631


What are the advantages of the code-behind feature?

593


Which of the following .NET framework supports Web API?

705


Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?

644