Python 烧杯会话超时分钟或秒

Python beaker session timeout minutes or seconds

目前,我已将我的烧杯会话 cookie_expires 设置为 300。

'session.cookie_expires':300,

1.Is 300 分钟或秒? 2.创建的session是否会在300后自动删除?

请参考documentation:

timeout (optional, integer)

Seconds until the session is considered invalid, after which it will be ignored and invalidated. This number is based on the time since the session was last accessed, not from when the session was created.

Defaults to never expiring.