[Flow] Error: Session not started

toco at aimeos.org toco at aimeos.org
Fri Apr 10 12:52:41 CEST 2015


Hi David

>> I've always used Models with session annotation to create sessions
>> automatically and used these models in my controller.In the Model it works if
>> you use this annotation: @Flow\Session(autoStart = TRUE)You could give it a
>> try
>> and see if it works afterwards.

I've found the problem: The "@Flow\Session(autoStart = TRUE)" annotion must be added to all controller methods that may access the session. It's not enough to add it only to the controller method that is called before.


Toco
--
Aimeos web shop

http://aimeos.org
https://www.facebook.com/Aimeos
Twitter: @aimeos


More information about the Flow mailing list