• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Session lost after redirect

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 

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.