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.
目前,我已将烧杯会话 cookie_expires 设置为 300。
'session.cookie_expires':300,
1.300是分还是秒?2、创建的session会在300之后自动删除吗?
请参考文档:
超时(可选,整数) 直到会话被认为无效的秒数,之后它将被忽略和失效。此数字基于自上次访问会话以来的时间,而不是从创建会话的时间开始。 默认为永不过期。
超时(可选,整数)
直到会话被认为无效的秒数,之后它将被忽略和失效。此数字基于自上次访问会话以来的时间,而不是从创建会话的时间开始。
默认为永不过期。