26 Sep
2003
26 Sep
'03
11:35 p.m.
On Saturday, September 27, 2003, at 05:01 AM, Dieter Maurer wrote:
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).
I figured that there is some kind of filtering for updating the expiration deadline. The filtering reduces excessive writes at the expense of the accuracy of the deadline. Michael