[Zope] Strange session behavior
Andrew Athan
zope-response@memeplex.com
Thu, 23 Jan 2003 21:49:19 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0020_01C2C329.4BB8C170
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi, I'm using Zope 2.6.1b1 (but the same behavior is exhibited by 2.6.0)
and IE6 on XP. Before I spend a long time debugging this I thought I'd
ask the list:
Either IE's cookie handling (doubt it, since I tried this with highly
permissive privacy settinngs) or Zope's browser id manager, or Zope's
session manager or Zope's transient objects folder is misbehaving.
Symptom: Session data is periodically and intermittently lost within a
period of time much much shorter than the transient object timeout.
To test this I use a single IE window reloading the very same
"test.html" ZPT that simply checks for the existance of the key 'foo' in
REQUEST.SESSION and reports the result (and sets it to 1 always).
Preliminary evidence is that the problem is exacerbated by concurrent
request handling. I test this using a windows client that utilizes the
WinHTTP COM+ object to generate requests running on a separate machine
(no chance of IE stepping on itself).
Of possible relevance is that external python methods are invoked to
fulfill the WinHTTP generated requests.
Any initial hints on where to look?
Thanks,
Andrew Athan
------=_NextPart_000_0020_01C2C329.4BB8C170
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>
<META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial size=3D2>Hi, =
I'm using Zope=20
2.6.1b1 (but the same behavior is exhibited by 2.6.0) and IE6 on =
XP. =20
Before I spend a long time debugging this I thought I'd ask the=20
list:</FONT></SPAN></DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial size=3D2>Either =
IE's cookie=20
handling (doubt it, since I tried this with highly permissive privacy =
settinngs)=20
or Zope's browser id manager, or Zope's session manager or Zope's =
transient=20
objects folder is misbehaving.</FONT></SPAN></DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial =
size=3D2>Symptom: =20
Session data is periodically and intermittently lost within a period of =
time=20
much much shorter than the transient object timeout.</FONT></SPAN></DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial size=3D2>To =
test this I use a=20
single IE window reloading the very same "test.html" ZPT that simply =
checks for=20
the existance of the key 'foo' in REQUEST.SESSION and reports the result =
(and=20
sets it to 1 always).</FONT></SPAN></DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial =
size=3D2>Preliminary evidence=20
is that the problem is exacerbated by concurrent request handling. =
I test=20
this using a windows client that utilizes the WinHTTP COM+ object to =
generate=20
requests running on a separate machine (no chance of IE stepping on=20
itself).</FONT></SPAN></DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial size=3D2>Of =
possible=20
relevance is that external python methods are invoked to fulfill the =
WinHTTP=20
generated requests.</FONT></SPAN></DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial size=3D2>Any =
initial hints on=20
where to look?</FONT></SPAN></DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D611154102-24012003><FONT face=3DArial size=3D2>Andrew =
Athan</FONT></SPAN></DIV>
<DIV><SPAN class=3D611154102-24012003></SPAN> </DIV></BODY></HTML>
------=_NextPart_000_0020_01C2C329.4BB8C170--