Random SESSION variables disappearing
I noticed that someone else encountered this same problem back in February. However, the only response that person received was that this is not possible. Anyway, I am running into the same problem, where random session variables are disappearing. The session is still there because my error log indicates that the SESSION id and token are still set. However, many, and sometimes all of my other session variables disappear at random causing an error when trying to reference any of the objects. The Transient Object Container has the Data Object timeout value set to 180 minutes. I even tried changing this to a 0, meaning that it would never expire. Has anyone else encountered this before? And if so, have you reached a solution? Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
--On 5. Juli 2006 08:45:00 -0700 Tina Matter <tinamatter71@yahoo.com> wrote:
I noticed that someone else encountered this same problem back in February. However, the only response that person received was that this is not possible.
Which Zope version?` -aj
Tina Matter wrote at 2006-7-5 08:45 -0700:
I noticed that someone else encountered this same problem back in February. However, the only response that person received was that this is not possible.
Anyway, I am running into the same problem, where random session variables are disappearing. The session is still there because my error log indicates that the SESSION id and token are still set. However, many, and sometimes all of my other session variables disappear at random causing an error when trying to reference any of the objects.
These are "top level" session variables? I.e. something you defined with "SESSION.set(myvar, some_value)"? And not variables inside "some_value"? One can easily believe that all variables disappear. That happens for example when the session times out. But it is very difficult to believe that individual session variables should disappear as all of them are treated in the same way: all or none should disappear... We might have an invalidation bug (although it is unlikely, as it should hit all storages and not only sessions) which might cause some connections to see an older state. In this case, the variable you loose should be your newest variables. -- Dieter
participants (3)
-
Andreas Jung -
dieter@handshake.de -
Tina Matter