Answers for "can laravel use $_SESSION variable"

PHP
1

set session data in laravel

Session::put('key', 'value');

session(['key' => 'value']);
Posted by: Guest on September-24-2020
6

session variable in laravel

$request->session()->put('key','value');
Posted by: Guest on April-18-2020

Code answers related to "can laravel use $_SESSION variable"

Browse Popular Code Answers by Language