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

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)

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

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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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