Sorry for long no anwer. I’ve rechecked, flashes aren’t working for me at all. Even in this case they aren’t working.
public function actionFirst()
{
Yii::$app->session->open();
Yii::$app->session->setFlash('success', 'test');
return $this->redirect('second');
}
public function actionSecond()
{
Yii::$app->session->open();
$flashes = Yii::$app->session->getAllFlashes();
var_dump($flashes);
}
Thats my first basic application. On advanced applications webserver config files are same and all working good from a stock. I’ve checked session directory, it is writable, but session files aren’t created. What could it be?