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


Messages In This Thread
How to start session globally? - by happyape - 09-21-2018, 04:35 AM
RE: How to start session globally? - by sv3tli0 - 09-21-2018, 04:59 AM
RE: How to start session globally? - by happyape - 09-21-2018, 05:21 AM
RE: How to start session globally? - by happyape - 09-21-2018, 05:34 AM
RE: How to start session globally? - by sv3tli0 - 09-21-2018, 06:10 AM
RE: How to start session globally? - by happyape - 09-21-2018, 06:16 AM
RE: How to start session globally? - by kilishan - 09-21-2018, 06:16 AM
RE: How to start session globally? - by happyape - 09-21-2018, 06:58 AM
RE: How to start session globally? - by happyape - 09-21-2018, 07:36 AM
RE: How to start session globally? - by macruzgi - 11-04-2019, 10:48 AM
RE: How to start session globally? - by macruzgi - 11-04-2019, 01:21 PM
RE: How to start session globally? - by kilishan - 09-21-2018, 09:21 AM
RE: How to start session globally? - by macruzgi - 11-04-2019, 01:29 PM
RE: How to start session globally? - by macruzgi - 11-04-2019, 03:05 PM
RE: How to start session globally? - by macruzgi - 11-05-2019, 07:51 AM
RE: How to start session globally? - by macruzgi - 11-08-2019, 04:17 PM
RE: How to start session globally? - by InsiteFX - 11-05-2019, 05:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB