[HttpFoundation] Fixed the use of the prefix for the Memcached storage
This commit is contained in:
parent
5808773b51
commit
ec44e6831a
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user