I have a page that used to store a session and then I want to retrieve the value of those session in another page. But when I try to retrieve it, it return nothing.
The script something like this:
Page A(add session value)
Yii::app()->session[‘parent’] = ‘Example’;
And then I move to Page B by click a link in Page A,
Page B(retrieve the initiated session above)
In page B, script above return nothing. AFAIK, in PHP session it would available in whole system. Does Yii has a configuration to manage session it self so it would available in whole system? or something wrong based on my script?