[Flow] TYPO3 Flow Session Management
Bastian Waidelich
bastian at typo3.org
Fri Mar 21 09:49:56 CET 2014
Pankaj Lele wrote:
Hi Matthias, Pankaj,
> By using $this->session->start(); you are forcing Flow to start a new
> session.
> In general Flow does not autostart a session.
> To have a session autostarted on your indexAction(), add a annotation
> @Flow\Session(autoStart = TRUE) and remove the line
> $this->session->start(); then all will be fine!
I didn't try, but if you really want to go "low-level" you could
probably also add a:
if (!$this->session->isStarted()) {
check before calling
$this->session->start();
--
Bastian Waidelich
More information about the Flow
mailing list