Problem with Codeigniter |
(05-14-2015, 02:20 PM)kenjis Wrote:(05-14-2015, 07:01 AM)techbat Wrote: Codeiginter session Library is internally using COOKIE, so you may get cache issue mostly in IE browsers, means cookie is store in client browser, when client received response header then updated session value will show on client end. 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"); |
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
|