标签: php session
如何在所有设备中执行以下操作?
if($_SESSION["ID"] == 1) $_SESSION["ID"] = null;
例如,设备A,B,C具有$_SESSION["ID"] == 1,而设备D具有$_SESSION["ID"] == 2。我想在设备A,B,C中重置$_SESSION["ID"]($_SESSION["ID"] = null)。我怎么能这样做?
$_SESSION["ID"] == 1
$_SESSION["ID"] == 2
$_SESSION["ID"]
$_SESSION["ID"] = null