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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #read #session #laravel
ADD COMMENT
Topic
Name
5+2 =