8000 [HttpFoundation] Fixed the use of the prefix for the Memcached storage · symfony/symfony@ec44e68 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec44e68

Browse files
committed
[HttpFoundation] Fixed the use of the prefix for the Memcached storage
1 parent 5808773 commit ec44e68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/HttpFoundation/Session/Storage/MemcachedSessionStorage.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,23 +89,23 @@ public function closeSession()
8989
*/
9090
public function readSession($sessionId)
9191
{
92-
return $this->memcached->get($this->prefix.$sessionId) ?: '';
92+
return $this->memcached->get($sessionId) ?: '';
9393
}
9494

9595
/**
9696
* {@inheritdoc}
9797
*/
9898
public function writeSession($sessionId, $data)
9999
{
100-
return $this->memcached->set($this->prefix.$sessionId, $data, false, $this->memcachedOptions['expiretime']);
100+
return $this->memcached->set($sessionId, $data, false, $this->memcachedOptions['expiretime']);
101101
}
102102

103103
/**
104104
* {@inheritdoc}
105105
*/
106106
public function destroySession($sessionId)
107107
{
108-
return $this->memcached->delete($this->prefix.$sessionId);
108+
return $this->memcached->delete($sessionId);
109109
}
110110

111111
/**

0 commit comments

Comments
 (0)
0