[ZCM] [ZC] 1135/ 3 Comment "Session data losses when working with frames"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Mon May 17 04:38:50 EDT 2004


Issue #1135 Update (Comment) "Session data losses when working with frames"
 Status Pending, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1135

==============================================================
= Comment - Entry #3 by mcdonc on May 17, 2004 4:38 am

Can you try 2.7 from CVS (the 2.7-branch) and see if you can tell if this problem still exists?
________________________________________
= Comment - Entry #2 by toadstule on Dec 18, 2003 2:58 pm

I spent some time looking over the example (session_problem.zexp) and found that it does not correctly represent the problem.  The example does not work because each frame loaded actually has a separate session (with a unique session id).  Creating the session before loading multiple frames takes care of the problem demonstrated by the example.

I spoke with Santi Camps and he agreed that the session problem still exists, but this example does not recreate it.  We need to come up with a new example that demonstrates this bug.

________________________________________
= Request - Entry #1 by scamps on Nov 28, 2003 6:34 am


Uploaded:  "session_problem.zexp"
 - http://zope.org/Collectors/Zope/1135/session_problem.zexp/view
When working with frames, and when two frames are storing data in SESSION object concurrently, variables defined by one of the frames in this SESSION object are loosed in following requests.

A thread about this issue is in zope-dev at zope.org list, in November 2003, under the title of "session_concurrency".  It seems that the request retries when a ConflictError occurs are not working properly in this case.

I provide a detailed example in a .zexp   To try it, import the zexp, close your browser and then open it again calling directly the example  http://yourzope/session_problem  You can see how variables are loosed
==============================================================




More information about the Zope-Collector-Monitor mailing list