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
Explain the service container and its advantages.
How to get configuration values in laravel?
Do you know what is laravel elixir?
What are the Forms in Laravel ?
What do you mean by laravel dusk?
Explain how to bind a service container to a service provide?
What is database migration? And how to use it to add insert initial data to database?
How do I test sending emails without actually sending emails to real addresses?
What does csrf token in laravel 5?
By default valet serve your app on which tld? How to configure it to use another domain?
Is laravel a good framework?
How to serve sites with tls on valet?
What do you mean by dusk used in laravel 5?
How to fetch data from database in laravel?
What are the three service provider types?