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

#1
Hi,
my problem with CI4 is that session not working after I refresh page.
I load session in BasicController but it nothing change.
Please help me.
Reply

#2
i don't think anybody can help with this since there is not enough information to go on.

Maybe you post your code your playing with in the controller , but as a starter ..in every controller
involved in a session , my approach is to put
session_start(); //at the start might not be the best approach but works for me




public function credentials()

{
session_start();
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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