web2py does not know whether the session is going to change or not so it locks even if does not save it. To change it call session._unlock(request)
On Mar 22, 2011, at 2:18 PM, Anthony wrote: > On Tuesday, March 22, 2011 2:39:45 PM UTC-4, Massimo Di Pierro wrote: > The only caveat is that - unless you unlock them - session are locked. > Therefore the same user cannot request two pages at the same time. > This in order to guarantee data integrity in sessions. > > With the new changes in 1.94.5, is the session file still locked for every > request, even if nothing is saved to the session, or does it only get locked > if something is actually saved/changed? > > Thanks. > > Anthony