search

Home  >  Q&A  >  body text

SID constant has no output

<?php
if(isset($_GET['PHPSESSID'])){ 
session_id($_GET['PHPSESSID']);
}
session_start();
echo "SID".SID;
//产生的SID格式为:Session name=Session ID
?>
<br/>
<a href="session.php?<?php echo SID?>">刷新</a>


蘇1708 days ago746

reply all(0)I'll reply

No reply
  • Cancelreply