jeudi 29 septembre 2016

laravel 5.2 session not persist on route change

laravel 5.2 session not persist after route change,

I have not used any middleware. session returns all values in controller when i put session but it forgets when redirect to another route.

here is my routes

Route::auth();

Route::get('login','LoginController@login');

Route::post('login','LoginController@check');

Route::get('/','HomeController@index');

Route::post('school/store','HomeController@store');



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire