Memcache Cactivedataprovider Object Data In Yii

Hello ,

I have a probelm with use memcache store cactivedataprovider so how can i solved this problem

i check if user login than first time query than store it in to memcache second time fetch from cache but cactivedata provider gives result in object

i refer some link :

yiiframework.com/forum/index.php/topic/37756-memcache-application-object/

its say not possible so please guide me.

thanks in advance

Cactivedata provider use with memcache is possible i use like as follow

in my application i first check memcache id available if not set data to memcache

example:

$id="product_detail_100_"; //check every time

$dataProvider100=Yii::app()->cache->get($id);

if not set into memcache its solved and set() method use mixed value so it support array,object and other value like integer,float etc…