• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Don't Trust CI4 debug bar

#1
Sad 
I'm using CI4 debug bar for my project but debug bar not works fine with session flash data sometime show session flashdata and sometime not in debug bar and this problem only in localhost when i check with same code in live server then debug bar show session flashdata every time . In view page today i use echo for flash data and flashdata works fine same time no data show in debug var/session section for flashdata . Sometimes works sometime not with same code . Totally waste my last 4 days Huh Sad Sad   Please Fix this issue .
Reply

#2
I'm not sure of the code you're using... but when you're using "echo", the content is generated server side... which means ALL the data is always available at the time the page is "going to print"... whereas the debugbar's display is client-side (which is only updated on a page refresh- and not when it's refreshed using AJAX). See some of my commentary here: https://forum.codeigniter.com/thread-76187.html
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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