📜  php session destroy 不起作用 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:22.938000             🧑  作者: Mango

代码示例2
//make sure you don't forget to initialize session before destroying it
session_start() ;
session_destroy();
$_SESSION = [];//and clear it for this request