Session is not initialized for unauthorized user $session = Yii::$app->session . $session->open() also gives nothing. For authorized everything works fine. What could be the problem and how to fix it? thank

  • Once users are logged in, the session is working. What does it mean to give nothing? What is it manifested and what specifically does not work? - cronfy
  • elementary - no id of the session - Roma Tulaydan
  • How do you check it? - cronfy
  • print_r ($ session = Yii :: $ app-> session) - Roma Tulaydan
  • And if just session_id () to see? And the problem is what? You are not going to show the session id on the site. Are session variables saved? - cronfy

0