Answers for "how to add value in session using laravel"

PHP
1

laravel session put method

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

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

insert value in session in laravel

use Session;

 Session::put('variableName', $otp_chk);
Posted by: Guest on August-12-2021

Code answers related to "how to add value in session using laravel"

Browse Popular Code Answers by Language