Flashdata/redirect issue in firefox - 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: Flashdata/redirect issue in firefox (/showthread.php?tid=45659) |
Flashdata/redirect issue in firefox - El Forum - 09-29-2011 [eluser]aL3xa[/eluser] Hi guys, I'm using flashdata to store some messages if certain condition is not satisfied, then redirecting to home page. It goes something like this: Code: $this->session->set_flashdata('error', true); Then on the homepage I check flashdata, and if Code: $this->session->flashdata('error') == true This works like a charm in Chrome/webkit based browsers/Opera, even IE, but Fifefox is a bit greedy with caching, I presume, so it displays nothing! After I delete the cache it works. But as soon as you make one request, it fails again! =/ Any ideas? |