Re: Session not passed to AxWebBrowser popup
From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 06/29/04
- Next message: Steve Siegel: "Repost: Using Webbrowser events to detect scripted New Window"
- Previous message: ReuvenT: "Session not passed to AxWebBrowser popup"
- In reply to: ReuvenT: "Session not passed to AxWebBrowser popup"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 29 Jun 2004 18:36:35 -0400
"ReuvenT" <ReuvenT@discussions.microsoft.com> wrote in message
news:04A56CF9-B977-4D97-B720-E82E0812406E@microsoft.com
> We're displaying some intranet aspx pages through AxWebBrowser and
> some of these call window.open to display popup pages. It looks like
> the popup doesn't see the browser session from the parent in the
> AXWebBrowser control. When hosted in IE, the popups can access the
> session.
Sessions are maintained on a per-process basis. When window.open is
executed from inside iexplore.exe, it opens a new window within the same
process, and the session is maintained. When window.open is called
inside your application, the new window opens in iexplore.exe, which is
a different process, and the session is lost.
If you want to keep all new windows within your application, see
NewWindow2 event.
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
- Next message: Steve Siegel: "Repost: Using Webbrowser events to detect scripted New Window"
- Previous message: ReuvenT: "Session not passed to AxWebBrowser popup"
- In reply to: ReuvenT: "Session not passed to AxWebBrowser popup"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|