Clearing WebBrowser control's cookies for all sites WITHOUT clearing for IE itself

后端 未结 2 470
说谎
说谎 2021-02-01 22:19

EDIT: As far as I know, there is no solution to this problem, making it yet another testament to the fact that one should not use C#\'s WebBrowser. We ended up with a warning si

2条回答
  •  无人共我
    2021-02-01 22:48

    Is it necessary to have the cookies functional in IE at the same time? Is it possible to "restore" the original cookies back to IE after your program runs?

    UPDATE:

    Another idea:

    I wonder what would happen if you ran your program under a different user account, via Impersonation. It's possible that it would store those cookies under a different Windows profile...

提交回复
热议问题