Re: Another question about sessions and EditingContexts (sorry)

Sebastien Bigaret <[email protected]> 29 Feb 2004 14:37:27 +0100
Newsgroups gmane.comp.python.modeling
Message-ID <[email protected]>
"Ernesto Revilla" <[email protected]> wrote:
> Dear all,
> 
> as stated in the documentation, section 6. Integration in an application,
> using an application server, actually it is recomended to use a fresh
> EditingContext for each session. But it states also, that changes made
> permanent with saveChanges will not be visible to other EditingContexts. Is
> the also the case for Zope ZEditingContextSessioning? Could anybody tell me
> in which environment she/he uses modeling, and how he treats the
> EditingContexts? (I'm looking for application server like uses.)

  This is the case in every multi-ECs environment, including Zope and
  ZECSessioning.

I currently have the intention of solving that longstanding issue of
synchronizing ECs --and this is a prerequisite for optimistic
locking. Would you have some time testing patches on that topic?

-- Sébastien.



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click