<BR>if(isset($_GET["se"])){ <BR>$se = $_GET["se"]; <BR>}else{ <BR>return; <BR>} <br><br>if(!empty($se)){ <br><br>echo("receive se:<strong>*本文来源gaodai#ma#com搞@代~码^网+</strong><strong>搞代gaodaima码</strong> ".$se."</br></br>"); //接受的的session为$se <BR>session_id($se); //设置$se位session_id <BR>session_start(); //开启sesseion ,注意不能与上一步对调,打工告成 <BR>echo("new session id: ".session_id()."</br></br>"); <BR>echo $_SESSION['h']; <BR>} <BR>