[Zope] SESSION updates don't always take

Chris Kratz chris.kratz at vistashare.com
Wed Mar 9 17:12:43 EST 2005


On Wednesday 09 March 2005 05:09 pm, Chris McDonough wrote:
> On Wed, 2005-03-09 at 16:59, Chris Kratz wrote:
> > On Wednesday 09 March 2005 03:42 pm, Chris McDonough wrote:
> > > Your hunch is entirely correct.  This behavior is actually documented
> > > within http://www.plope.com/Books/2_7Edition/Sessions.stx in the
> > > section entitled "mutable data stored within session objects".  This
> > > isn't really a general sessioning issue, it's more of a ZODB issue
> > > (which sessions use "under the hood").
> >
> > Thanks for the response Chris.  It's nice to know that it's not a bug, or
> > at least it is a documented bug.  It's just unfortunate that it works
> > most of the time such as during development.  I don't like gremlins.  Ah
> > well, perhaps others in the list can learn from my experience.
>
> Yup, this is a common issue that bites many people when they do ZODB
> programming.  For better or worse, we've made the scripter into a ZODB
> programmer via offering sessions.

The sad thing is that I knew this to be the case with standard ZODB 
programming.  Hence the huch.  What I didn't realize is that the SESSION code 
worked the same way for some reason.

Oh well, thanks again.
-- 
Chris Kratz



More information about the Zope mailing list