Currently i am trying a varnish+phalconphp setup and the best option would be to get rid of the session for non-authenticated users.
For this i will need to start the session only if:
- the user has the cookie with the session name set (eg; $_COOKIE['sname']
- the user is on the Auth Controller
What is the most appropriate way to do this?
So far i've seen that it's best to go with extending the \Phalcon\Session\Adapter .