Hello. I am writing a project on YII2. On a certain part of the code I get the session id in the following way:
$ssid = (new \yii\web\session)->id; And then pass the session to the database. Everything worked fine and continues to work, but when testing on a mobile device (iphone), an empty value is assigned to $ ssid. It turns out the session does not start? I do not even understand which side to approach the question (