【发布时间】:2021-12-20 18:38:36
【问题描述】:
我使用 set_cookie 函数并将 TTL 设置为 10 秒。
来自服务器的示例响应:
Set-Cookie: COOKIE_10=VALUE; expires=Sun, 07-Nov-2021 16:40:43 GMT; Max-Age=10; path=/
之后我在 TOR 浏览器中查看了 cookie 的过期时间:
"Expires": "At the end of the session",
"Expires raw": "0",
总是“在会话结束时” 我检查了 Chrome 和 cookie 到期时间工作正常。 有什么方法可以让 TOR 正确设置有效期?
【问题讨论】:
标签: php session cookies time tor