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 is asp.net futures?

0 Answers  


What are the different Key TreeView Properties in Asp.net 2.0?

1 Answers   TCS,


The technical part was on ASP.Net only of web services.

1 Answers   Symphony,


What is the difference between managed and unmanaged code? *******

2 Answers   Patni,


Question asked by one of interviewer in panal is given below: We have 2 user control on same page ,1st user control contains textbox and a button while 2nd user control have label. when ever we click on button click of 1st custom control button the value of the textBox will get updated into Label of 2nd custom control. How to do this.Your help will be appreciated.

1 Answers  


What is Forms Authentication in ASP.NET?

0 Answers  


How do we access view state value of this page in the next page?

0 Answers   MindCracker,


What is the difference between session object and application object?

0 Answers  


Input:http://www.allinterview.com/forms/questionform.php Output:http://www.allinterview.com/forms/questionform Write c# program to get the above desired output for the given Input.....

3 Answers   Bally Technologies,


How do you do validations. Whether client-side or server-side validations are better ?

2 Answers   InfoLinks, Microsoft,


How can I open ashx file in mobile?

0 Answers  


What is the main function of url routing system in asp.net mvc? : asp.net mvc

0 Answers  


Categories