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

#21
(11-04-2019, 09:14 PM)dave friend Wrote:
PHP Code:
namespace App\Controllers;
use 
App\Models\Modeloejemplo;
class 
Demo extends BaseController
{
public function 
__construct(){
    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
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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