打开php.ini文件, 然后在里面搜索一个值session use_trans_sid=1; 这样设置之后,就会在url路径中自动添加上去一个SID. 自动添加SID的有:href action header