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

A brief difference between Session and Cookies in asp.net

5 Answers   HCL, HCL Comnet,


In order to get assembly info which namespace we should import?

0 Answers  


Using code explain Configuration Management

0 Answers  


Why is validation always done on the server? When does that occur?

2 Answers  


What is session id in web application?

0 Answers  






Are cookies client side or server side?

0 Answers  


What are session state modes? List some of the important session state modes of asp.net.

0 Answers  


What’s the difference between response .redirect and server.transfer?

0 Answers  


What is the namespace to create thread in .net?

0 Answers  


How to prevent client side validation from the ASP.NET validation controls?

0 Answers   Viscus Infotech,


How can you achieve nested Masterpages in 2.0?

1 Answers   Microsoft,


Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.

0 Answers   eMids,


Categories