The framework is shipped with a particular component, ZEditingContextSessioning, that makes it possible to have an EditingContext lazily created on a per-session basis.
When installed in the Products/
folder of a Zope instance, it
automatically modifies the class TransientObject6.1 and adds a
new method to it: defaultEditingContext. It also binds itself to the
sessioning machinery so that the EditingContext attached to a session
is automatically finalized when the session is expired.
Accessing the EditingContext bound to a particular session is as
simple as calling defaultEditingContext() on the SESSION
object.
SESSION
object is an instance of TransientObject