[Flow] confused about sessions
Sasky, Patrick
patrick.sasky at ilss-logistik.de
Wed May 21 14:07:09 CEST 2014
Hi Christian,
Thanks for your reply.
I knew the two links already, but this can not solve my problem.
I didn't inject my session-class every action. I do this one-time. Like
this in my StandardController:
/**
*
* @Flow\Inject
* @var \ILSS\Red\Domain\Model\Login
*/
protected $login;
But in every action I have to assign a variable for Fluid like this:
$this->view->assign('userId', $this->login->getUserId());
And this I do only to can use a condition in Fluid for checking whether
user is logged-in.
My login-logic only is a webservice connection to another system. So I
can't login with included features of FLOW and I want only use the
session handling. Is it possible?
Thanks,
Patrick
More information about the Flow
mailing list