Setting session variable in twig
gonziis - 4 weeks ago
I am looking into Session and in documentation https://pyrocms.com/documentation/streams-platform/1.3/plugin/session and there are examples used in twig. But why doesn't session_put or session_set work? Only reading functions work, I feel like it would be pretty convenient to set a quick session in my view, as I can work with requests in twig.