📜  session_destroy 不工作 - PHP 代码示例

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

代码示例1
//After using session_destroy(), the session is destroyed behind the scenes. For some reason this doesn't affect the values in $_SESSION, which was already populated for this request, but it will be empty in future requests.

//You can manually clear $_SESSION if you so desire ($_SESSION = [];).