VS 2010 2 webbrowsers and their cookies = problem-VBForums
Results 1 to 4 of 4

Thread: 2 webbrowsers and their cookies = problem

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2011
    Posts
    14

    Arrow 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.

  2. #2
    Junior Member phytax's Avatar
    Join Date
    Feb 2012
    Posts
    19

    Re: 2 webbrowsers and their cookies = problem

    may this helps
    vb.net Code:
    1. WebBrowser1.Document.Cookie = ""
    Last edited by phytax; Feb 21st, 2012 at 02:14 PM.
    May the SOURCE be with you +---

    Rate if this was helpful

    http://INTRALUX.de

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2011
    Posts
    14

    Re: 2 webbrowsers and their cookies = problem

    it didn't solve my problem ;/
    any other ideas?

  4. #4
    Frenzied Member
    Join Date
    Nov 2005
    Posts
    1,832

    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
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.