Check your session.php config file and ensure all is correct.
I didn't changed the session.php file, should I change the driver type?
What kind of error do you get? or it's a data issue?
I get no error, I get to the route profile and there is auth::check and this check don't work.
Here is my routes way:
Route::get('profile', array('as' => 'profile','uses' => 'UsersController@profile'));
and my function in UsersController
public function profile(){
return View::make('users.profile');
}
Check that your domain, https option, etc. are correct in your session.php config. If its not correct, then the session will not be set on the browser and thus nothing will happen.
A way to check that this is the problem is that a new session will be generated in your session storage whenever you load a new page
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community