I've been reading the documentation and it is not clear how to use the session data in the main view. Thanks in advance.
I believe anything in the DI is accessible in the view, so you could do:
{{ session.someValue }}
Wait so we can access it like that? I always just set a variable in my BaseController and then access it in the view :/
https://docs.phalcon.io/en/latest/reference/volt.html#inject-services-into-a-template