• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I Cant Read Session Data Other Controller

#1
Photo 
       
hello all use codeigniter with vue.js i create a session in controller session and i can read with defined name session datas but i cant read other pages 
i only call $this->session->userdata('user')


Attached Files Thumbnail(s)
   
Reply

#2
try with $this->session->user;
works for me Smile
Reply

#3
Make sure you autoload the session library in application/config/autoload.php.
Read the documentation about session, because there are different ways to set it up.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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