VincentM
(Meert Vincent)
1
hi.
Easy question I guess.
with $_session, I can do something like :
$_SESSION['test']=array();
$_SESSION['test']['test']='prout';
why whith Yii session, I can’t?
the code below return this error : "Indirect modification of overloaded element of CHttpSession has no effect"
Yii::app()->session['test']=array();
Yii::app()->session['test']['test']='prout';
and so, how to solve this?
VincentM
(Meert Vincent)
3
ok thanks, sorry, I didn’t see this topics before.
I’ll certainly use one of these solution because I can’t find something better…
or
If somebody has a proper solution, please keep me in touch ! 