I have a site that developed by laravel nahid.co. In desktop browser it work properly but when I try it via mobile browser laravel Auth does not work. There are no value was set and can not retrieve value from Auth.
Please help me. how can I solved it.
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.
I have trying to several browser in my mobile but it not work :(
what does it say when you browser to this site
on your mobile phone
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community