Support the ongoing development of Laravel.io →
Authentication Session
Last updated 2 years ago.
0

I would say that it has something to do with Cookies. Auth is PHP and PHP is server side so a browser (whatever OS or platform) is not the problem.

Last updated 2 years ago.
0

I have trying to several browser in my mobile but it not work :(

Last updated 2 years ago.
0

what does it say when you browser to this site

http://www.whatismybrowser.com/are-cookies-enabled

on your mobile phone

Last updated 2 years ago.
0

yes, already enabled cookie in my browser. Browsers say nothing. When I attempt to login then login complete successfully but can not retrieve data.

if(Auth::check()){
//something
}

// or 

echo Auth::user()->username;

this code does not work.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

nahid nahid Joined 9 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.