• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting and Getting Session and Flashdata

#1
Can anybody guide me how to set and retrieve session and flashdata?

I initialized session base controller and when I try to set and get on User controller, I am getting error saying "ErrorExceptoin": undefined variable $session when using this snippet below

PHP Code:
$session->set('user''someone'); 
Reply


Messages In This Thread
Setting and Getting Session and Flashdata - by msjagan - 09-26-2019, 12:16 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.