get_instance function - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: get_instance function (/showthread.php?tid=66367) Pages:
1
2
|
RE: get_instance function - InsiteFX - 12-26-2020 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 |