Level 67
Depending on what you are doing, $request->mobile might be null on refresh. You can easily check that.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a little problem about sessions in Laravel.
I have made the authentication function which like this:
$mobile = $request->session()->put('mobile',$request->mobile);
Depending on what you are doing, $request->mobile might be null on refresh. You can easily check that.
Please or to participate in this conversation.