Re: Multiple Instances of AxWebBrowser
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Thu, 23 Nov 2006 09:50:07 -0500
"tamarindm" <tamarindm@xxxxxxxxxxxx> wrote in message
news:1164273637.531659.145170@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a csharp application, running multiple instances of
AxWebBrowser at the same time. Each web browser requires the same
cookie, set using InternetSetCookie. If one AxWebBrowser control is
navigating, another control is not able to recognise the cookie. If I
waited until the first control is complete navigating, then start
navigating the second control, then it is able to recognise the
cookie.
Let me see if I understand. You have two instances of WebBrowser
control. You set a cookie with InternetSetCookie. You then navigate both
controls, almost simultaneously, to some URLs whose domain matches that
of the cookie, so you expect the cookie to be sent with both requests.
But it only gets sent with one (which one?)
With all due respect, I find it hard to believe. Something else must be
affecting the picture. Could it be, for example, that by hte time the
second browser is navigated, the response for the first one has already
arrived and the server has requested to erase the cookie? When you are
doing navigations sequentially, do you by any chance make a second
InternetSetCookie call before the second navigation?
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Follow-Ups:
- Re: Multiple Instances of AxWebBrowser
- From: tamarindm
- Re: Multiple Instances of AxWebBrowser
- References:
- Multiple Instances of AxWebBrowser
- From: tamarindm
- Multiple Instances of AxWebBrowser
- Prev by Date: Multiple Instances of AxWebBrowser
- Next by Date: Re: Multiple Instances of AxWebBrowser
- Previous by thread: Multiple Instances of AxWebBrowser
- Next by thread: Re: Multiple Instances of AxWebBrowser
- Index(es):
Relevant Pages
|