WebBrowser control session sharing?
cookies, session, webbrowser-control
Solution
Okay, it seems that we can't make such assumption and can't rely on it in the production code.
I've tried different setups and here are the results:
- WinXP, IE6: Session is shared
- WinXP, IE7: Session is shared
- WinXP, IE8: Session is shared (with both LCIE enabled and disabled)
- Win7, IE9, LCIE disabled: Session is shared
- Win7, IE9, LCIE enabled: Session is NOT shared.
The closest info I could find about it is in the reply to this question, but it's seems to be incorrect.
Problem
I host the IE's WebBrowser control (CLSID_WebBrowser) in a desktop windows application. This WB seems to store its session cookies independently of the machine's Internet Explorer (IE9, Win7). I want to rely on this behavior but can't find any proof of it. Has anyone seen any documentation regarding the session sharing? Has it been so in the previous IE versions?