我现在像建立一个多进程的浏览器,一个HTML页面在一个单独的进程里,当我在一个进程页面点击一个链接,打开一个新的页面的时候,如何把当前进程的SESSION等信息传递到新的进程中?请高手解答,如解决另开贴加分!

解决方案 »

  1.   

    还是参考WebKit等来做吧,HtmlView估计功能有限.
      

  2.   

    看来无人能解呀,多线程的我早就实现了,现在主流浏览器360 搜狗等都实现多进程了,如何传递SESSION的呢
      

  3.   

    Session cookies
    Session cookies are often used for authenticating the user to a website. Session cookies are temporary cookies that only persist for the lifetime of your browsing session. When you login to a website, they usually give you a session cookie that contains a unique token that identifies you while you are logged in. As you navigate around the website, IE sends your session cookie to the site, and the site can examine this token and determine that you are authenticated. Unlike persistent cookies, they are not written and retained on your hard disk.In IE8 Beta 2, we recover your session cookies too  and  still do not write them to disk! We store copies of them in the frame process. When your tab crashes, we just copy them back from the frame into the tab, and the user is automatically logged back into the site they were using (i.e. webmail, blog sites, social sites).Note that session cookie recover only takes place for tab crashes.  If the whole browser crashes, the session cookies are lost, however we do expect that the overwhelming majority of crashes to be isolated to the tabs, as most crashes are caused by malfunctioning add-ons, which are now isolated to a tab process.---看上去有一个Frame Process来管理
      

  4.   

    如何实现多线程版本  用WebBrowser Control 好像不行  就是每个线程创建WebBrowser 直接崩溃了 
      

  5.   

    看到chrome就有这个功能。当时是认为挺新颖的。开始我还在想是不是自己做了个容器来保存呢?后来我在想session需要传递么?根本不需要传递吧。