Add temporary storage support for collective.recipe.filestorage and plone.recipe.zope2zeoserver
When load balancing without session affinity in a ZEO cluster, the Zope session should be served from the ZEO master to ensure that all clients have a consistent view of the session.
This old post still seems to be valid today: http://
See also http://
To enable this using buildout, I added a 'temporary-storage = zeo' directive to the [filestorage] part. If this is present, then the zope.conf files contain a stanza like this:
where %(zeo_address)s and %(zeo_client_var)s have been interpolated. The zeo.conf file contains a stanza like this:
name temporary storage for sessioning
The zope2zeoserver recipe gains a directive like this: 'zeo-temporary-
The patch does the job, but could probably be refined.