1.

How can we set a flash message in Yii2?

Answer»

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



Discussion

No Comment Found