如何通过名称删除php会话
我的例子session['sec']
and session['page']
我需要删除session['page']
没有删除session['sec']
// for a single variable
unset($_SESSION['session_var']);
// destroy the Session, not just the data stored!
session_destroy();
// delete the session contents, but keep the session_id and name:
session_unset();
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)