Session Library |
Codeigniter noob here: I'm trying to find how I can load the session library at app run since I plan on using several session variables throughout. I'm sure I am missing something. Can anyone point me to the right place?
Thanks.
Then you can just open up /app/Controllers/BaseController.php and uncomment:
Code: // $this->session = \Config\Services::session(); And you can access it with $this->session in your controllers.
|
Welcome Guest, Not a member yet? Register Sign In |