有没有办法设置trac_auth cookie应该存活多长时间,这样即使在closures浏览器之后,我也可以保持login状态? 从我现在可以看到,它被设置为在浏览器退出时被删除。 我使用Trac的标准安装。
在trac.ini
– > [trac]
部分:
auth_cookie_lifetime Lifetime of the authentication cookie, in seconds. This value determines how long the browser will cache authentication information, and therefore, after how much inactivity a user will have to log in again. The default value of 0 makes the cookie expire at the end of the browsing session. (since 0.12)