[Zope] ZODB conflict error AFTER adding an 'Access Rules'
Dieter Maurer
dieter at handshake.de
Fri Sep 26 13:01:17 EDT 2003
Michael Dunstan wrote at 2003-9-26 11:34 +1200:
> ...
> Jean, try to avoid needless writes to the session object. For example
> throw some conditional code in your access rule of the form:
>
> if session.get(key) != value:
> session.set(key,value)
>
> That should help reduce the number of "ConflictError"s.
Note, however, that reading the session writes it (in order
to update the expiration deadline).
Dieter
More information about the Zope
mailing list