[Zope] Reconnection session_data to own Session.fs storage
Dieter Maurer
dieter at handshake.de
Wed Aug 5 00:21:39 EDT 2009
Allen Schmidt Sr. wrote at 2009-8-4 13:45 -0400:
> ...
>In the ZMI, there are:
>
>/session_folder/ ( a regular folder )
> session_data ( Transient Object Container )
>
>/session_data_manager ( Session Data Manager )
>
>
>All the parts seem right but its not working....session writes wind up
>as anonymous transactions in the main ZODB.
>
>Any ideas?
Verify that "session_folder" is a mount point and not a regular
folder.
This is not trivial as a mount point, once mounted, tries hard to
become the mounted object (this happens in its "__of__" method).
You must avoid acquisition to check that it is indeed a mount point.
One way is to use "app._p_activate(); app.__dict__['session_folder']".
This must return a mount point, not a folder.
--
Dieter
More information about the Zope
mailing list