Welcome Guest, Not a member yet? Register   Sign In
Session lost after redirect
#1

Hi everyone, i have a problem usiong the Session in CI 4.

I have a login, where i keep some data (few) in Session, after that login, this goes to the controller of checkLogin, and there (if everything is ok) i have an echo to the "homepage". Until here, session works well. After i click on a Card that has  onclick="location.href='<?php echo base_url(); ?>/index.php/RegisterEntity'"


If the user clicks there, it goes to RegisterEntity, but then Session dissapear. Not only that, also, if i am in registerEntity_view, (with no session loaded), and i click the button of previous page of my broswer, it seems that page cannot load, but if i refresh after this message, everything is ok and session is "recovered"....

What is happening here? i wait for your answer 
Reply




Theme © iAndrew 2016 - Forum software by © MyBB