Answers for "laravel 7 use session in controller"

PHP
1

laravel get session variable in controller

$value = Session::get('variableSetOnPageA');
Posted by: Guest on November-26-2020
0

set session in laravel

Session::put('variableName', $value);
Posted by: Guest on February-13-2021

Code answers related to "laravel 7 use session in controller"

Browse Popular Code Answers by Language