#5 SessionDynamicStore problems

closed-fixed
Geoff Talvola
None
5
2001-12-18
2001-12-12
Geoff Talvola
No

SessionDynamicStore is not thread-safe; in particular,
if 2 threads try to MoveToMemory at the same time,
problems happen. Thread locks are needed.

Also, it unnecessarily accesses the filesystem on
every request, even if the session is in memory.

Most users won't notice these flaws, but one user
reported problems with a frameset where multiple
requests for the same session came in at precisely
the same time.

Some code cleanup would also be nice.

(Geoff is currently working on fixing this.)

Discussion

  • Geoff Talvola
    Geoff Talvola
    2001-12-18

    • status: open --> closed-fixed
     
  • Geoff Talvola
    Geoff Talvola
    2001-12-18

    Logged In: YES
    user_id=88162

    Fixed by Webware/WebKit/SessionDynamicStore.py version 1.8