Session with APC (CApcCache) won't work

Hi to everyone,

I’m quite new to Yii. I configured my installation to use session with the APC Extension (it’s loaded).


        'session'=>array(

            'class' => 'CCacheHttpSession',

        ),

        'cache'=>array(

            'class'=>'CApcCache',

        ),

My app shows pages fine, but when loggin’ in, it doesn’t maintain authentication. At least Yii::app->user->isGuest doesnt work.

Is there any other configuration or details that should be noted?

Thanks for your help in advance!

I’ve been doing some tests, and i think the problem comes from hosting services, as in my WAMP installation seems to work.

I own a Grid Server account in Media Temple and i think the way it handles requests has something to do with APC Cache not working. Can it be that diferent requests are handled by diferent processes and thus not share "memory"?