Re: Session not passed to AxWebBrowser popup

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 06/29/04


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


Relevant Pages

  • Re: session loss
    ... straight without the redirection, and the popup comes up, is your session ... Web Developer 0.9.3 "Adds a menu and a toolbar with various web ...
    (comp.lang.php)
  • End Program
    ... When I go to shutdown or reboot, I get a popup "End Program -- ... every time I have used IE during a session. ... Before doing shutdown or reboot, I have checked the Task Manager, Process ...
    (microsoft.public.windowsxp.help_and_support)
  • RE: Problems with SP2
    ... but only for that session. ... When the popup blocker blocks a popup that you ... it forces the browser to refresh. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Problems with SP2
    ... but only for that session. ... When the popup blocker blocks a popup that you ... it forces the browser to refresh. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Maintain Web Session and Cookies
    ... This doesn't use the axWebbrowser, but it accomplishes the same thing. ... > control, extracting information about the web pages, and the Session and ... > cookies will be alive for as long as I'm posting back to the web site. ... > I've tried with an HttpRequest and HttpResponse objects to no avail. ...
    (microsoft.public.dotnet.languages.vb)