Hello!
Show us the code where you are storing the data into the session!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I tried following but none of the method is working and in both cases, session message sometimes flash and sometimes doesn't.
@if (Session::has('sms_not_sent'))
<div class="form-group">
<div class="alert alert-danger">
<i class="fas fa-times text-danger"></i> <strong>{{Session('sms_not_sent')}}</strong>
</div>
</div>
@endif
@if (Session::has('sms_not_sent'))
<div class="form-group">
<div class="alert alert-danger">
<i class="fas fa-times text-danger"></i> <strong>{{Session::get('sms_not_sent')}}</strong>
</div>
</div>
@endif
Thanks
Please or to participate in this conversation.