|
-
Feb 21st, 2012, 02:44 PM
#1
Thread Starter
New Member
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.
-
Feb 21st, 2012, 03:10 PM
#2
Junior Member
Re: 2 webbrowsers and their cookies = problem
may this helps
vb.net Code:
WebBrowser1.Document.Cookie = ""
Last edited by phytax; Feb 21st, 2012 at 03:14 PM.
-
Feb 23rd, 2012, 12:36 PM
#3
Thread Starter
New Member
Re: 2 webbrowsers and their cookies = problem
it didn't solve my problem ;/
any other ideas?
-
Feb 23rd, 2012, 02:03 PM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|