• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to start session globally?

(11-04-2019, 09:14 PM)dave friend Wrote:
PHP Code:
namespace App\Controllers;
Demo extends BaseController
public function 
    parent::__construct();  // <<< YOU MUST CALL THIS!! 

If calling that causes an error you must figure out why and fix it.

Thank you!
Everything is going well, the session is already working, my problem was with the redirect.
I am sorry I did not notice it, but thank you very much for the comments!

Big Grin  Big Grin  Big Grin  Big Grin

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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