[python-win32] Internet Explorer Session independent Creation

Tim Roberts timr at probo.com
Wed Dec 17 20:05:13 CET 2008


Romain Gilles wrote:
>
> I'm new in python and I would like to know how I can create 2 (and
> more) session independent Internet Explorer.
>
> This is my actual code:
>
>  
>
> ie1 = Dispatch("InternetExplorer.Application")
>
> ie1.Navigate(url)
>
> login(ie1)
>
>  
>
> ie2 = Dispatch("InternetExplorer.Application")
>
> ie2.Navigate(url)
>
> ...
>
>  
>
> In this example when the 'ie2' instance navigate to the url it is
> automatically authenticated as if ie1 and ie2 shared the same credential.
>
> But what I want is truly independent internet explorer instance.
>
>  
>
> Somebody can help me?
>

I'm not convinced this is possible.  When you run several instances of
IE via COM, they all try to route to the same process, which means they
will share credentials.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list