Answers for "how to check session is set in laravel"

PHP
2

check session in blade laravel

@if(session()->has('qwick'))
   
@else 
   
@endif
Posted by: Guest on June-11-2020
4

laravel destroy session

# ref: https://laravel.io/forum/02-06-2014-session-destroy

Session::forget('yourKeyGoesHere') // Removes a specific variable
Posted by: Guest on July-11-2020

Code answers related to "how to check session is set in laravel"

Browse Popular Code Answers by Language