Skip to content

Commit

Permalink
[HttpFoundation] Fixed the use of the prefix for the Memcached storage
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Feb 12, 2012
1 parent 5808773 commit ec44e68
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -89,23 +89,23 @@ public function closeSession()
*/
public function readSession($sessionId)
{
return $this->memcached->get($this->prefix.$sessionId) ?: '';
return $this->memcached->get($sessionId) ?: '';
}

/**
* {@inheritdoc}
*/
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']);
}

/**
* {@inheritdoc}
*/
public function destroySession($sessionId)
{
return $this->memcached->delete($this->prefix.$sessionId);
return $this->memcached->delete($sessionId);
}

/**
Expand Down

0 comments on commit ec44e68

Please sign in to comment.