![]() |
Is this cache? I have to refresh the page to see the UPDATEd values in the database! - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Is this cache? I have to refresh the page to see the UPDATEd values in the database! (/showthread.php?tid=58356) |
Is this cache? I have to refresh the page to see the UPDATEd values in the database! - El Forum - 06-05-2013 [eluser]behnampmdg3[/eluser] Hi; This is pretty annoying. I update the dadabase and redirect to another page which has the list of agents. But I see the old data,,, unless I refresh the page ! Whats going on? Is this cache? I have to refresh the page to see the UPDATEd values in the database! - El Forum - 06-05-2013 [eluser]TheNextBillGates[/eluser] Are you caching your pages? Do you have Code: $this->output->cache($number_of_minutes_to_store_cache); How are you redirecting the page? I just added caching to one of my controllers and tried adding data and the new data was there when I redirected to the page that displays a list of all data in the database, so my guess is it's not code igniters cache but it may be being cached else-ware Is this cache? I have to refresh the page to see the UPDATEd values in the database! - El Forum - 06-06-2013 [eluser]behnampmdg3[/eluser] [quote author="TheNextBillGates" date="1370496702"]Are you caching your pages? Do you have Code: $this->output->cache($number_of_minutes_to_store_cache); I just added caching to one of my controllers and tried adding data and the new data was there when I redirected to the page that displays a list of all data in the database, so my guess is it's not code igniters cache but it may be being cached else-ware[/quote] redirect(site_url('agents/show'), 'refresh'); Cache where? Thanks Is this cache? I have to refresh the page to see the UPDATEd values in the database! - El Forum - 08-24-2013 [eluser]behnampmdg3[/eluser] Anyone? Is this cache? I have to refresh the page to see the UPDATEd values in the database! - El Forum - 08-24-2013 [eluser]InsiteFX[/eluser] See this: Web Browser Cache Control |