Which code are you using. Jonathan and I agree that Corne's patch in this thread does not lock the session.
web2py does lock sessions unless you do session._unlock(request) On Mar 14, 6:17 am, KMax <mkostri...@gmail.com> wrote: > I have similar behavior. Same long time generating page opened same > time in few tabs give me some tabs with erased(overwrited?) session > file and as a result login page. No exception or error. > > Is using session in db solve this issue? > > On 12 мар, 00:06, ron_m <ron.mco...@gmail.com> wrote: > > > > > > > > > You should only get a portalocker.LockException if the no blocking option is > > set on the lock attempt which it is not the case in the original web2py > > code. > > > However, the exception handler inside portalocker.lock will re-raise any > > exception if it is not IOError for Errno 11 > > > It would be very helpful if you posted the stack trace that shows the > > exception type and details.