Hi all
I'm developing a site with CodeIgniter and am finding that my page "refreshes" aren't always, if ever, reflecting changes in my database.
To be specific, if I'm working in my administration section and add a few items to the database (it's a music zine with lots of reviews) and then log out of that section I have a redirect in the controller (with the optional 'refresh' parameter specified) in place that sends me back to the site root which itself is a totally different controller. When this happens, however, any new content that has been generated is not automatically shown unless I physically refresh the page.
My initial suspicion was that there might've been some kind of caching turned on but that doesn't seem to be the case. I've also gone as far as nulling my data array in the site root controller before trying to retrieve the data from my model again but that does nothing either. It feels to me like the instantiated controller objects are persisting until I physically intervene and force them to regenerate which is a bit of a pain really.
Is there something simple about the way CI works that I'm missing here?
Cheers.
I'm developing a site with CodeIgniter and am finding that my page "refreshes" aren't always, if ever, reflecting changes in my database.
To be specific, if I'm working in my administration section and add a few items to the database (it's a music zine with lots of reviews) and then log out of that section I have a redirect in the controller (with the optional 'refresh' parameter specified) in place that sends me back to the site root which itself is a totally different controller. When this happens, however, any new content that has been generated is not automatically shown unless I physically refresh the page.
My initial suspicion was that there might've been some kind of caching turned on but that doesn't seem to be the case. I've also gone as far as nulling my data array in the site root controller before trying to retrieve the data from my model again but that does nothing either. It feels to me like the instantiated controller objects are persisting until I physically intervene and force them to regenerate which is a bit of a pain really.
Is there something simple about the way CI works that I'm missing here?
Cheers.