laravel session should i use get 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]);