[BUGFIX] Set session cookie when FE_SESSION_KEY is used 13/34013/2
authorNils Heuermann <nils@world-of-scripts.de>
Wed, 12 Nov 2014 13:29:42 +0000 (14:29 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Thu, 19 Mar 2015 00:21:24 +0000 (01:21 +0100)
When a FE_SESSION_KEY is set in get/post data the cookie for the
frontend user session should be set. Due to changes in #55549 this did
not happen any more. dontSetCookie is now set to FALSE so that the
cookie is set again.

Resolves: #62100
Releases: master, 6.2
Change-Id: Iba9ee3298ba6ff3323ce862c0943cff5d35495d8
Reviewed-on: http://review.typo3.org/34013
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php

index 9c41639..3165614 100644 (file)
@@ -1037,6 +1037,7 @@ class TypoScriptFrontendController {
                                        $_SERVER['HTTP_COOKIE'] .= ';' . $cookieName . '=' . $fe_sParts[0];
                                }
                                $this->fe_user->forceSetCookie = 1;
+                               $this->fe_user->dontSetCookie = FALSE;
                                unset($cookieName);
                        }
                }