[Zope-dev] Threads, Locks, Volatility, and Angst
Ian Beatty
beatty at physics.umass.edu
Wed Mar 31 17:50:47 EST 2004
On 2004-03-31 5:42 PM, zope at netchan.cotse.net is reputed to have said:
> Do you use this unique ID only as some kind of session ID?
Yes, exactly.
> If you only
> need these IDs during a session (don't have to store them in ZODB), you
> can create a thread safe class for managing them and then use an instant
> of this class as a module global variable in your product.
> AFAIR, this is the way how exUserFolder implements it's usercache. You
> can get a clue by examining these files...
I'll check them out. Thanks.
..Ian
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
Dr. Ian Beatty beatty at physics.umass.edu
Physics Education Research Group voice: 413.545.9483
Department of Physics fax: 413.545.4884
Univ. of Massachusetts AIM: (available upon request)
Amherst, MA 01003-4525 USA http://umperg.physics.umass.edu/
-- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- -- --- --
More information about the Zope-Dev
mailing list