session variable in laravel

113

session variable in laravel -

$request->session()->put('key','value');

set session in laravel -

Session::put('variableName', $value);

session in laravel -

session()->regenerate();

Comments

Submit
0 Comments