Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to read session in laravel

//set session
Session::put('sessionName', 'message');
//get session
Session::get('sessionName');
//don't forget to use "use IlluminateSupportFacadesSession;"
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #How #read #session #laravel
ADD COMMENT
Topic
Name
4+1 =