We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

cache session problem

I got cache on all of my action with html.

but after load it on cache , there ar some session problem . I mean the other users see my session (logged in geass etc)

is there any code to block on html to none cache this area ? Or how can i do it?

Thanks

You should probably add the the user_id or session_id to the cache key.

The easy way that i found so far in production was to skip caching for logedin users.