ceshi.php页面
<?php
session_start();
// store session data
$_SESSION['views']=1;
echo $_SESSION['views'];
?>
<a href="ceshi1.php">切换页面</a>ceshi1.php页面<?php
echo $_SESSION['views'];
?>
为什么切换到ceshi1.php页面 会提示Undefined variable: _SESSION 变量没有定义 $_SESSION不是说关闭浏览器 才会释放吗 我又没关闭。怎么会释放呢