Hi All
I want to reserve data among the user requests (like a shopping card does)
What is the difference between
what are the prons and cons and why/when use the one instead the other?
Thanks in advance
I want to reserve data among the user requests (like a shopping card does)
What is the difference between
Yii::app()->session['data1']='value1' and Yii::app()->user->setState('data1', 'value1');
what are the prons and cons and why/when use the one instead the other?
Thanks in advance