Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要根据这个文档在 nginx 上定义一个 cookie:http ://wiki.nginx.org/HttpUseridModule 但是当我设置时:
userid on; userid_name SessionStatId; userid_domain orange.fr; userid_path /; userid_expires 8y;
过期设置为会话,而不是定义的十年!
你知道为什么以及如何解决这个问题吗?
我找到了 !在我的 Firefox 配置中,我调整了它以通过 Firefox 关闭来清除所有 cookie。因此,所有 cookie 都设置为在会话结束时过期。就是这样!