Welcome Guest, Not a member yet? Register   Sign In
Post cache issues
#1

[eluser]gRoberts[/eluser]
Hi all,

When I post data to the same page, it displays the previous values until you refresh the browser (by manually going to the same url instead of refreshing.)

The data I am displaying is being pulled from a memcache store which after successfully updating the database, I reload the memcache store with the new data.

Directly after the update of the database/cache, I can print_r both the posted value and the memcache value which both return the same results. Yet when I echo the memcache value from the view it still shows the old result (even when i'm print_r'ing the exact same data in teh php code.)

I don't have any caching enabled as far as PHP/CI. I've checked the cache folder and the only file in there is the index.htm file.

Has anyone ever experienced this before? I'd go into more detail regarding my code but unless specifically asked, i'll not bother due to how complex the setup is.

Cheers

Gav




Theme © iAndrew 2016 - Forum software by © MyBB