Dear All,
How to disable cookie when using webbrowser ?
Thank you!
Best regards,
Boki
Alex Meleta - 19 Jul 2007 13:07 GMT
Hi Boki,
How and where do you want to disable cookies?
For example, you (as user) can disable it on Internet Explorer (see IE >
Options > Privacy) or as developer for session support you can prevent to
use cookies (Web.Config > sessionState > cookieless=true).
Regards, Alex
[TechBlog] http://devkids.blogspot.com
Ben Voigt [C++ MVP] - 19 Jul 2007 18:46 GMT
> Hi Boki,
>
> How and where do you want to disable cookies?
Sounds like while hosting a WebBrowser control in a Windows Forms app... but
I could be wrong.
Sheng Jiang[MVP] - 19 Jul 2007 22:57 GMT
Implement IInternetHostSecurityManager::ProcessUrlAction and handle
URLACTION_COOKIES/URLACTION_COOKIES_ENABLED
not sure how to extend the WebBrowserSite class for this, though.

Signature
Sheng Jiang
Microsoft MVP in VC++
> Dear All,
>
[quoted text clipped - 4 lines]
> Best regards,
> Boki