I am really hoping some one could give me some pointers.
I have an application that uses CHtmlView. It is just a browser, it
actually has several views attached to it. My problem is following:
when a user clicks a link on the webbrowser part of the app, a new IE
window appears. This would be fine! But this IE window doesn't receive
users login information (users are logged on the webportal) so that
new window is useless!
So, I would need to pass "hidden" login etc. information that window!
I already found a reference (Microsoft Knowledge Base-artikel - 184876
HOWTO: Use the WebBrowser Control NewWindow2 Event) where they (to my
understanding) create a new window of the original app (instead of IE
window) when OnNewWindow2 is called. I do not want that, I have
components in my app that allow just one window to exist.
Is there any way to start IE under my webbrowser process? Or pass its
"memory" to IE?
Hope you understand my question. I am not a pro at MFC programming, so
hope you have patience.
/Liina
Yes - it's described in KB184876 you quote
> Or pass its
> "memory" to IE?
None that I know of.
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
I'm afraid not. Session cookies are maintained on a per-process basis.
If you start a new IE instance in a separate process, you can't have it
use the same session state.