Hi, I didn’t modify anything dealing with session setup, so in my Yii config sessions are started automatically.
I was trying to get session values for key ‘name’, but looking at the session file stored in /tmp on the server I see that ‘name’ key I was looking was indeed ‘46278e760e264a62c85bf2e34ce11cfc__name’ so I had to do
[size="2"]Check did someone called [/size]setStateKeyPrefix() function somewhere in code (index.php, or base controller or similar bootstraping files).
[font="Arial, sans-serif"][color="#222222"][size="2"]setStateKeyPrefix() - [/size][/color][/font][color="#222222"][font="Arial, sans-serif"][size="2"]Sets a prefix for the name of the session variables storing user session data.[/size][/font][/color][color="#222222"][font="Arial, sans-serif"][size="2"][i]