Skip to content

Flash notification Using Session

Niamul Hasan edited this page Dec 30, 2020 · 1 revision

Show or Set Notification in Session

Session::flash($name, $string = '')

This same line is used to set and show notification.

It atomatically clears session after showing it. $name is the name of the sesson example : $name = "notification";

Clone this wiki locally