From d00746987717125b13222214daffcbda43001e36 Mon Sep 17 00:00:00 2001 From: Alessandro Loffredo Date: Wed, 7 Mar 2018 14:52:09 +0100 Subject: [PATCH] fix the updating of timestamp in the MemcachedSessionHandler --- .../Session/Storage/Handler/MemcachedSessionHandler.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcachedSessionHandler.php b/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcachedSessionHandler.php index 9f4ef7028e..dd37eae14e 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcachedSessionHandler.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcachedSessionHandler.php @@ -80,7 +80,9 @@ class MemcachedSessionHandler extends AbstractSessionHandler */ public function updateTimestamp($sessionId, $data) { - return $this->memcached->touch($this->prefix.$sessionId, time() + $this->ttl); + $this->memcached->touch($this->prefix.$sessionId, time() + $this->ttl); + + return true; } /**