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

How to configure a mail-in laravel?

790


What do you mean by reverse routing in laravel 5?

780


Explain how to serve sites on valet?

705


How can we handle Error Handling in Laravel ?

1487


What is a Retrieving Input ?

1066


What is guard in laravel authentication?

796


What is a recursive helper function?

824


How to register a middlewares in laravel controller?

708


What are the major differences between laravel 4 and laravel 5.x?

778


What developed the laravel?

743


List some default packages provided by laravel 5.6?

616


Tell me what is the purpose of using dd() function iin laravel?

797


What is Encryption Process ?

1408


What are the three types of authentication?

705


Tell me why laravel over other php frameworks?

723