How to Storing Session Data in Laravel ?
Answer / rishabh khanna
Data can be stored in session using the put() method.
The put() method will take two arguments, the “key” and the “value”.
Syntax : $request->session()->put('key', 'value');
| Is This Answer Correct ? | 0 Yes | 0 No |
Is react a library or a framework?
How x-csrf-token is different from csrf tokens?
How to create custom middleware in laravel?
In order to run laravel. What permissions are required to be on storage and the bootstrap/cache directories?
Describe laravel service provider?
How to get current url in laravel?
How to rollback last migration?
Is laravel the best php framework?
What is localization?
How to make a constant and use globally?
What is console in laravel?
What are macros in laravel?