cookies - 如果 Cookie 'Expires/Max-Age' 为 'N/A' 或未设置会发生什么
解决方案
It means the cookie will expire at the end of the session (when the browser closes, but not always).
When user privacy is a concern, It is important that any web app implementation will invalidate cookie data after a certain timeout and won't rely on the browser clearing session cookies.
One of the most beloved features of Firefox prevents session cookies from ever expiring. The same issue is also occuring with google chrome (and probably with other browsers offering similar features)
推荐阅读
- java - 您可以在 Autoconfigured Spring Boot H2 测试数据库上设置兼容模式吗?
- java - Map Reduce 错误输出/Reducer 不工作
- forfiles - forfiles 命令,未知含义
- javascript - 使用响应式文件管理器上传任何文件时出错
- python - 在python中使用数据内容作为列创建表
- c# - 同一窗口中的多个 Visual Studio 文件
- mysql - 在 Mac OS 上将 Node.js 连接到 XAMPP MySQL 服务器时遇到问题
- r - 无法使用 R 从 S3 读取 csv
- r - 如何使用 zoo::na.spline 的 maxgap 参数
- android - Android:按钮的onClick方法没有线性处理?