createing a session data in laravel code example
Example 1: set session in laravel
Session::put('variableName', $value);
Example 2: set session in laravel
Session::get('variableName');
Session::put('variableName', $value);
Session::get('variableName');