[Zope-dev] Storing session objects in a ZODB

Andy McKay andym@ActiveState.com
Mon, 29 Jan 2001 15:19:19 -0800


I want to store the session objects (from CoreSessionTracking) in the ZODB
so that users can save preferences (set in a Session) and call them back
later. Just thinking that the easiest way to something is to pickle it, but
pickling it in the ZODB which then pickles it, seems daft. Someone suggested
I could just _setObject into the ZODB, but don't I still need to make a
class wrapper around this?

Has anyone tried this? I couldn't spot anything in the CoreSessionTracking
API that obvious...

Cheers.

--
  Andy McKay.