2 webbrowsers and their cookies = problem
Hello,
I'm currently writing some small app, that uses webbrowser component.
My problem is:
when want to use my app in 2 instances and it acts like that:
1st instance: it logs in to one account on some website - perfect
2st instance: webbrowser shows the same website from 1st instance ( but it's automatically 'logged in')
I think cookies are not separate.
How to divide them?
I mean how to assign each cookie to each instance of my VB app?
thanks in advance
Regards.
Re: 2 webbrowsers and their cookies = problem
may this helps
vb.net Code:
WebBrowser1.Document.Cookie = ""
Re: 2 webbrowsers and their cookies = problem
it didn't solve my problem ;/
any other ideas?
Re: 2 webbrowsers and their cookies = problem
I could be wrong, but I don't think that's possible. The WebBrowser control uses the same cookies as Internet Explorer. No matter how many Internet Explorer or WebBrowser control instances you have, they all use the same cookie from the "Temporary Internet Files" folder.