Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to Storing Session Data in Laravel ?

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


Please Help Members By Posting Answers For Below Questions

What is meant by Implicit Controllers

1411


What is meant by Laravel - Hashing ?

1418


What is laravel boilerplate?

738


How to register a middleware in laravel 5?

736


What is Encryption Process ?

1386


Tell us can laravel be hacked?

681


What are controllers in laravel?

827


Where is the authentication configuration file is located in laravel?

784


What are bundles, reverse routing and the ioc container?

675


What is the difference between forget() and the pull() method ?

1019


How to get/set configuration values in laravel?

761


What are the plateforms laravel homestead supports?

762


What are the site types supported by homestead?

759


What are laravel contract’s?

718


What is blueprint in laravel?

760