• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make a session object always available to views?

#1
[eluser]veggen[/eluser]
Is there a way for me to execute some custom login on every controller function? The idea is to make some session object always available to views without adding $data['key'] = $this->session->userdata('key'); to each function.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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