From ec44e6831a932a3a77ca391d91bf1fff0d236f12 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Sun, 12 Feb 2012 04:00:20 +0100 Subject: [PATCH] [HttpFoundation] Fixed the use of the prefix for the Memcached storage --- .../Session/Storage/MemcachedSessionStorage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/MemcachedSessionStorage.php b/src/Symfony/Component/HttpFoundation/Session/Storage/MemcachedSessionStorage.php index 2a79e9bb8f..6b552f31d2 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/MemcachedSessionStorage.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/MemcachedSessionStorage.php @@ -89,7 +89,7 @@ class MemcachedSessionStorage extends AbstractSessionStorage implements SessionS */ public function readSession($sessionId) { - return $this->memcached->get($this->prefix.$sessionId) ?: ''; + return $this->memcached->get($sessionId) ?: ''; } /** @@ -97,7 +97,7 @@ class MemcachedSessionStorage extends AbstractSessionStorage implements SessionS */ public function writeSession($sessionId, $data) { - return $this->memcached->set($this->prefix.$sessionId, $data, false, $this->memcachedOptions['expiretime']); + return $this->memcached->set($sessionId, $data, false, $this->memcachedOptions['expiretime']); } /** @@ -105,7 +105,7 @@ class MemcachedSessionStorage extends AbstractSessionStorage implements SessionS */ public function destroySession($sessionId) { - return $this->memcached->delete($this->prefix.$sessionId); + return $this->memcached->delete($sessionId); } /**