时间:2021-07-01 10:21:17 帮助过:7人阅读
$_SESSION['user'] = 'lowell';
session_unset();
session_destroy();
?>
http://www.bkjia.com/PHPjc/323685.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/323685.htmlTechArticlesession_unset() 释放当前在内存中已经创建的所有$_SESSION变量,但不删除session文件以及不释放对应的session id session_destroy() 删除当前用户对应的...