Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Disable sessions and cache for some controllers

$
0
0
Hello! There is a easy way to disable cache and sessions using CMemCache configuration only for some controllers?

We come to a problem where we have an UploadController and we detected that is using sessions and memcache when obviously isn't needed.

A possible solution would be disabling session autostart and starting it manually, but I'm trying to figure it our if there is some other solution to that. (Maybe a conditional in the config file?)

Thank you!

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>