Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to set 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 #set #session #laravel
ADD COMMENT
Topic
Name
3+4 =