check session in controller laravel code example
Example 1: check session in blade laravel
@if(session()->has('qwick'))
@else
@endif
Example 2: laravel get session variable in controller
$value = Session::get('variableSetOnPageA');
@if(session()->has('qwick'))
@else
@endif
$value = Session::get('variableSetOnPageA');