Answers for "laravel session update data"

PHP
1

set session data in laravel

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

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

update session laravel

$request->session()->push('user.uploadProfilePic', true);
Posted by: Guest on November-06-2020

Browse Popular Code Answers by Language