Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel session

// Via a request instance...
$request->session()->put('key', 'value');

// Via the global "session" helper...
session(['key' => 'value']);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #session
ADD COMMENT
Topic
Name
2+3 =