Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB