Answer Posted / 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 |
Post New Answer View All Answers
How to configure a mail-in laravel?
What do you mean by reverse routing in laravel 5?
Explain how to serve sites on valet?
How can we handle Error Handling in Laravel ?
What is a Retrieving Input ?
What is guard in laravel authentication?
What is a recursive helper function?
How to register a middlewares in laravel controller?
What are the major differences between laravel 4 and laravel 5.x?
What developed the laravel?
List some default packages provided by laravel 5.6?
Tell me what is the purpose of using dd() function iin laravel?
What is Encryption Process ?
What are the three types of authentication?
Tell me why laravel over other php frameworks?