代码如下: session_start(); unset($_SESSION['username']); if(isset($_SESSION['username'])) echo "username已经存在"; else echo "username不存在"/>
PHP头条
热点:

phpsession检测和注销


代码如下:
session_start();
$_SESSION['username']="zhuzhao";
?>

代码如下:
session_start();
unset($_SESSION['username']);
if(isset($_SESSION['username']))
echo "username已经存在";
else
echo "username不存在";
?>

www.phpzy.comtrue/php/9028.htmlTechArticlephpsession检测和注销 代码如下: session_start(); $_SESSION['username']="zhuzhao"; ?> 代码如下: session_start(); unset($_SESSION['username']); if(isset($_SESSION['username'])) echo "username已经存在"; else echo "username不存在...

相关文章

相关频道:

PHP之友评论

今天推荐