laravel retrieve from session code example
Example 1: get session id in laravel
Session::getId();
Example 2: laravel get all session data
$data = $request->session()->all();
Session::getId();
$data = $request->session()->all();