复制代码 代码如下:
session_start();
$_SESSION['username']="zhuzhao";
?>
复制代码 代码如下:
session_start();
unset($_SESSION['username']);
if(isset($_SESSION['username']))
echo "username已经存在";
else
echo "username不存在";
?>
http://www.bkjia.com/PHPjc/319897.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/319897.htmlTechArticle复制代码 代码如下: ?php session_start(); $_SESSION['username']="zhuzhao"; ? 复制代码 代码如下: ?php session_start(); unset($_SESSION['username']); if(isset($_SESSIO...