From 77c2b85e21f1fdcf0333e1ca8b8bd7103a0fa4e7 Mon Sep 17 00:00:00 2001 From: lancergr Date: Mon, 9 Sep 2013 20:21:56 +0300 Subject: [PATCH 1/2] | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #8640 | License | MIT | Doc PR | --- .../HttpFoundation/Session/Storage/NativeSessionStorage.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php index d86ff33d1db0a..9ad8aee86b634 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php @@ -220,6 +220,8 @@ public function regenerate($destroy = false, $lifetime = null) session_start(); } } + + $this->loadSession(); return $ret; } From a27b0719516c372d449803884573caceeaf67e6b Mon Sep 17 00:00:00 2001 From: lancergr Date: Thu, 12 Sep 2013 10:43:49 +0300 Subject: [PATCH 2/2] NativeSessionStorage regenerate --- .../HttpFoundation/Session/Storage/NativeSessionStorage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php index 9ad8aee86b634..133ee77192fb4 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php @@ -219,9 +219,9 @@ public function regenerate($destroy = false, $lifetime = null) } else { session_start(); } + + $this->loadSession(); } - - $this->loadSession(); return $ret; }