Welcome Guest, Not a member yet? Register   Sign In
Using Sessions for High Traffic with AJAX
#2

I load the sessions in my BaseController like this.

PHP Code:
// Ensure that the session is started and running
if (session_status() == PHP_SESSION_NONE)
{
 
    // $this->session = \Config\Services::session();
 
    
     
// Below - add to top - use \Config\Services;
 
    $this->session Services::session();

What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Using Sessions for High Traffic with AJAX - by InsiteFX - 05-13-2022, 12:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB