Loading…

How can we set a flash message in Yii2?

A flash message in Yii 2 is used to keep a message in session through requests of the same user. By default, a flash message is removed from the session after it has been shown to the user. You can set the Flash messages through setFlash() Method

Suggest An Answer

No suggestions avaliable!

Latest post from Yii 2 interview questions

Ask Question