How to remove cache object in asp.net?

Answers were Sorted based on User's Feedback



How to remove cache object in asp.net?..

Answer / ravi.n

by using cache.remove()

Is This Answer Correct ?    1 Yes 0 No

How to remove cache object in asp.net?..

Answer / 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

More ASP.NET Interview Questions

what are the oops concepts are used in your project?

1 Answers   AppShark, IBM, Kotak,


What is the use Membership in asp.net? and What is the use profiler in asp.net?

1 Answers  


What was the difference between machine.config and web.config files

17 Answers   Assurgent, NIIT, TCS,


What are the features that make asp.net more used framework? : asp.net mvc

0 Answers  


What are the two Layouts supported by a Web form in ASP.NET?

0 Answers   MCN Solutions,


What’s the difference between Response.Write() andResponse.Output.Write()?

1 Answers  


Which method is used to enforce garbage collection in .net?

0 Answers  


whats the best method to cal id in javascript

2 Answers  


What symbol specifies the beginning of a query string?

0 Answers  


What r Callbacks in ASP.NET?

1 Answers  


What is the difference between a default skin and a named skin?

0 Answers   MindCracker,


How Can we use multiple forms in single asp.net application?

3 Answers   Polaris,


Categories