<u>复制代码</u> 代码如下:<br><?php <BR>session_start(); <br>$_SESSION['username']="zhuzhao"; <br>?><br><br><u>复制代码</u> 代码如下:<br><?php <BR>session_start(); <br>unset($_SESSION['username']); <br>if(isset($_SESSION['username'])) <br>echo "username已经存在"; <br>else <br>echo "username不存在"; <br>?><br>