Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Check if an item is exist in session laravel

if ($request->session()->exists('users'))

//To determine if an item is present in the session, even if its value is null, you may use the exists method
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Check #item #exist #session #laravel
ADD COMMENT
Topic
Name
8+3 =