dataflake / products.mcdutils Goto Github PK
View Code? Open in Web Editor NEWZope session implementation with Memcached backend
License: Other
Zope session implementation with Memcached backend
License: Other
Add transaction savepoint support for the session object.
As an idea for improvement, a property for configuration of a per site timeout of session object would be very useful in multi subdomains setups.
Excellent product, thanks!
Happened while associating an object that was handled by a Memcache-cache manager to a RAM cache manager.
Traceback (most recent call last):
File "/xxxZope2-2.13.26-py2.7.egg/OFS/Cache.py", line 197, in ZCacheable_invalidate
message = c.ZCache_invalidate(ob)
File "/xxx/Products.mcdutils-2.0-py2.7.egg/Products/mcdutils/zcache.py", line 73, in ZCache_invalidate
proxy.remove(key)
AttributeError: remove
Zope5 and Plone 6.x, when invalidating session data, as in logout, an AttributeError: 'MemCacheMapping' object has no attribute 'invalidate' is raised.
Traceback (innermost last): Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents Module ZPublisher.WSGIPublisher, line 390, in publish_module Module ZPublisher.WSGIPublisher, line 285, in publish Module ZPublisher.mapply, line 85, in mapply Module ZPublisher.WSGIPublisher, line 68, in call_object Module Products.CMFPlone.browser.login.logout, line 20, in __call__ Module Products.PlonePAS.tools.membership, line 702, in logoutUser AttributeError: 'MemCacheMapping' object has no attribute 'invalidate'
Probably, a new attribute invalidate may be necesary in MemCacheMapping like "delete"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.