Re: [web2py] a few comments on session handling

2011-04-04 Thread Jonathan Lundell
On Apr 3, 2011, at 7:42 PM, VP wrote: > > Clearly, session is a critical piece of data and it ought to be > synchronized carefully. But I think the current policy of locking > session can be improved. It can, but we need to be clear on what the use cases are. A locked session will block other r

[web2py] a few comments on session handling

2011-04-03 Thread VP
i'm making a few observations as i'm debugging my app. They might reflect my lack of understanding of how web2py works. Anyway, a few thoughts + It appears session.forget() (as mentioned numerous times in the book) should be session.forget(response). I have used session.forget() for a long time,