[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);
redirect(base_url(), 'location', '301');
Then on the homepage I check flashdata, and if
Code:
$this->session->flashdata('error') == true
, I display error.
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?