SESSION 在客户端一般表现为 SESSION ID 
所以,你只要登陆,并取回服务器发过来的 SESSION ID 一般会以 Cookie 的方式传回。
这样,只要你下一次进行操作的时候。把这个SESSIONID的COOKIE POST 到服务器端即可。

解决方案 »

  1.   

    when you goto a website,the website sets a cookie on your computer named "sessionid" and set a session file on the server .when you change page,you post the sessionid cookies value to the website,and the website will check it.
      

  2.   

    比如:服务器上一个文件
    //test.php
    <?php
      session_start();
      print_r($_SESSION);
    ?>本地文件
    //session.php
    <?php
      session_start();
      ......             //此段如何写,才能达到功能:运行该session.php后,再运行服务器上的test.php会有结果?
    ?>