• 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Codeigniter

#6
Thank you for you explanation.

(05-14-2015, 10:56 PM)techbat Wrote: i am specially saying for IE browser, I had faced strange issue with CI cart item update on IE browser, the cart items was not being update on page load, when i reload page by "ctrl+f5" then cart items was updating.

I google issue, and found IE browser cached response header, see these links
https://msdn.microsoft.com/en-us/library/bb250442.aspx
https://support.microsoft.com/en-us/kb/234067/en-us
The issue resolved when i added cache control header in repose.


PHP Code:
  $this->output->set_header("Cache-Control: no-store, no-cache, must-revalidate, no-transform, max-age=0, post-check=0, pre-check=0");
  $this->output->set_header("Pragma: no-cache"); 
Reply


Messages In This Thread
Problem with Codeigniter - by gentilezza - 05-14-2015, 01:09 AM
RE: Problem with Codeigniter - by techbat - 05-14-2015, 07:01 AM
RE: Problem with Codeigniter - by kenjis - 05-14-2015, 02:20 PM
RE: Problem with Codeigniter - by techbat - 05-14-2015, 10:56 PM
RE: Problem with Codeigniter - by kenjis - 05-14-2015, 11:44 PM
RE: Problem with Codeigniter - by gentilezza - 05-14-2015, 10:22 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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