When developing distributed applications with Yii, naturally, we will face that we have to
share the session in different machine. So here we will use memcache to do it.
here is the example to store the session with memcache in Yii, in the main.php file:
For the details, pls refer to http://www.yiiframework.com/doc/api/1.1/CCacheHttpSession#cacheID-detail
Have fun with Yii!
转于:http://www.cnblogs.com/davidhhuan/archive/2012/11/22/2781903.html
[Yii Framework] Share the session with memcache in Yii
原文:http://www.cnblogs.com/Alight/p/3543759.html