时间:2021-07-01 10:21:17 帮助过:4人阅读
if(isset($_GET["se"])){
$se = $_GET["se"];
}else{
return;
}
if(!empty($se)){
echo("receive se: ".$se.""); //接受的的session为$se
session_id($se); //设置$se位session_id
session_start(); //开启sesseion ,注意不能与上一步对调,打工告成
echo("new session id: ".session_id()."");
echo $_SESSION['h'];
}
http://www.bkjia.com/PHPjc/676880.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/676880.htmlTechArticle 代码如下:
if(isset($_GET["se"])){ $se = $_GET["se"]; }else{ return; } if(!empty($se)){ echo("receive se: ".$se."/br/br"); //接受的的session为$se session_id($s...