假如我的电脑与某个服务器有一个session(对话)。这时候我的IP忽然换掉了,这个session是否可以继续?
原理性的问题,不过不了解机制,谢谢。

解决方案 »

  1.   

    不可以, 因为session_id已经变了
      

  2.   

    试了一下gmail.换了IP后,还是可以在线的。
    就是不知道这个是不是session
      

  3.   

    Session support in PHP consists of a way to preserve certain data across subsequent accesses. This enables you to build more customized applications and increase the appeal of your web site.A visitor accessing your web site is assigned a unique id, the so-called session id. This is either stored in a cookie on the user side or is propagated in the URL.