On Mar 13, 2009, at 1:33 PM, outroot wrote:
In beaker 1.2.3 and pylons 0.9.7, beaker will no longer keep the session from timing out whenever you go to a web page. For e.g., if you set beaker.session.timeout to 20, then sit there and continually refresh the webpage, the session will timeout after 20 seconds no matter what.
A few things on when sessions are saved has changed. This is causing the problem you're seeing. Right now, Beaker is not marking a session as 'accessed', when you access it, only when you call session.save(). This clearly needs to be changed so that any access to the session is recorded as such in the session to prevent it from timing out. In the meantime, you can use the auto mode of beaker to correct the behavior:
beaker.session.auto = TrueI'll be releasing a 1.2.4 soon with the fix so that setting auto won't be needed. Note that the only thing the auto mode remedies is this access issue, it does not actually save a modified session.
Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature
