Session in PHP is reset?

0

I'm setting up a system and when the person logs in he creates the sessions normally, for example:

$_Session['logado'] = 'S'; 

But when I redirect to the main page, the session is simply zeroed and empty, "no value" .

What can it be?

Login.php

CheckData.php

Index.php

    
asked by anonymous 19.01.2018 / 16:17

0 answers