<?php
session_start();
$_SESSION['username']="zhuzhao";
?>
<?php
session_start();
unset($_SESSION['username']);
if(isset($_SESSION['username']))
echo "username已经存在";
else
echo "username不存在";
?>
-----正文到此结束-----
<?php
session_start();
$_SESSION['username']="zhuzhao";
?>
<?php
session_start();
unset($_SESSION['username']);
if(isset($_SESSION['username']))
echo "username已经存在";
else
echo "username不存在";
?>
标签:
发表评论 取消回复