I have two controller files in my project.
In first one, LoginProfileController
,
and inside LoginProfileAction
function, I write:
$session = new Session();
$session->start();
Then, I need to access the same session object in other file. Since Symfony doesn't support $_SESSION
Variable, how can I do that?