Posted by rwohleb on November 9, 2010 at 6:41am
4 followers
Jump to:
| Project: | Memcache API and Integration |
| Version: | 6.x-1.7 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
| Issue tags: | drupal multisite, session |
Issue Summary
To make memcache session handling easily shared across a multi-site install, we really need to be able to have prefixes defined by bin. My patch attempts to handle this a lot like the DB prefixes are handled. If the prefix value is a string, it's applied to all keys. If it's an array, it uses the appropriate prefix. The 'default' key will be the default prefix just like the DB code does it.
The patch is against 6.x-1.7, but it doesn't look like the dmemcache.inc code in the 6.x branch has really changed since then.
| Attachment | Size |
|---|---|
| memcache-multi-prefix.patch | 1.44 KB |
Comments
#1
subscribing
#2
#3
There's no document for user?
#4
Do you mean documentation?
#5
Yes, documentation for end user know how to define memcache_key_prefix.
#6
Duplicate of #467226: Support for per-bin key prefix