Level 21
@Ci can you show view? Are you setting a flash message to same key on single request?
P.S. Assuming you know that flash session will disappear on refresh as it is only for 1 request.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
when i use return redirect('/'); in my controller the session flash does not work sometimes it does sometimes it does not show
is it allowed to have different session flash message but with same name also on other controller?
\Session::flash('message','this is a sample message');
return redirect('/');
Please or to participate in this conversation.