laravel session id code example
Example 1: get session id in laravel
Session::getId();
Example 2: session variable in laravel
$request->session()->put('key','value');
Session::getId();
$request->session()->put('key','value');