How do I modify IE 7 to allow my application to clear cookies?
WatiN has a clean cookie) method that does not work due to IE security.
I think the easiest way to do this is through a command line call, something like this:
System. Using Diagnostics; // ... system.Diagnostics.Process.Start ("RunDll32.exe InetCpl.cpl, ClearMyTracksByProcess 2"); warning, untested Also, if you are on Vista or newer, you can suffer in permissions.
Comments
Post a Comment