get and set session value in laravel code example
Example 1: get session id in laravel
Session::getId();
Example 2: set session in laravel
session(['variableName' => $value]);
Session::getId();
session(['variableName' => $value]);