• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get_instance function

#11
You need to be running CodeIgniter then to load a helper you do it like this in a controller like BaseController.

PHP Code:
<?php helper('session'); ?>

Once it is loaded you be able to use any of the standard session global's also.

PHP Code:
$_SESSION superglobal 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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