![]() |
Session lost after redirect - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Session lost after redirect (/showthread.php?tid=77234) |
Session lost after redirect - fedeburo - 08-05-2020 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 |