我有一个带有这些参数的 cookie:
Name: workgroup_session_id
Content: ""
Domain: agrobman1.tsi.lan
Path: /
Send for: Any kind of connection
Accessible to script: No (HttpOnly)
Created: Wednesday, November 4, 2015 at 9:31:58 AM
Expires: When the browsing session ends
我尝试使用以下代码使用 PHP 删除 cookie:
setcookie("workgroup_session_id", "\"\"", time() - 3600, "/", "agrobman1.tsi.lan", false, true);
但我仍然无法删除它。有谁知道如何使用 PHP 或 JS 删除这种类型的 cookie?