同一个网站 建立根据分的模块建立了不同的项目 但都在同一个网站中 只是虚拟目录不同
请问 如何在一个项目中调用另一个项目的session?

解决方案 »

  1.   

    >>只是虚拟目录不同if they belong to different web applications, then you cannot, consider to write your own session management code and write them into database, or save them in the cookies, but set the path of the cookies to "/"
      

  2.   

    不同的虚拟目录之间的Web程序是不能共享Session、Application等的,如果要共享或交换数据的话,你可以通过楼上说的读/写数据库、读/写Cookies,另外也可以使用Web Service或者Remoting等技术来实现你的需求。
      

  3.   

    果然是翻译的好well down man,tomorrow will be better。。