My project is using three different services and now I never can get sessions values, I've tried the laravel site tutorial and fallowing link question : Laravel - Session returns null
But none of them worked!
In the first, i used this library:
use Session;
In a controller class
:
$result = SocketHelper::sendRequest($req);
Session::put('uuid', $result->uuid);
Session::save();
Session::put('userId', $result->userID);
return Redirect::route('login_step_two');
In an other method :
$uuid = Session::get('uuid');
$userId = Session::get('userId');
But these are null
! does I have to use cookie?
I recently upgrade to laravel 5.4
Please help me! It's made me confused!
Thanks.