I'm making an application in Laravel. When using Session::flash to display a message, the Session lasts for two requests (ie the page loads successfully with the message, then when I refresh, it's still there. When I refresh again, it disappears). Here is the code to create the Session and call the view:
Session::flash('status', "We are processing refunds for this event. If you are due refunds, check back in 24h.");
view('voucher.index', compact('events', 'orders'));
Any views on this are appreciated!