I have an application hosting the webbrowser control which clears the cache (regularly) using the code example provided my microsoft: http://support.microsoft.com/kb/262110
I am noticing however that after sometime the cache get corrupted or not working properly (requests that should be out of cache - are called over and over again.
When I run the following command, the application starts running normally. system('RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8')
Are the two the same, or is the code lacking something?
In IE9 I ran InetCpl.cpl,ClearMyTracksByProcess 8 and it did not remove a thing so looks like MS has moved the goal posts again.
Shown below is some very nice code I picked up that should work in IE7 but if you want code that does the trick on win7 and IE8/9 then click my name