Welcome Guest, Not a member yet? Register   Sign In
Back button and caching
#1

[eluser]veledrom[/eluser]
Hi,

I have a problem related to BACK button in browsers.

In very first page my basket shows "0 item". I go to next page to add one item to basket $this->cart->insert($data) and it shows $this->cart->contents() "1 item" in current page. If I hit BACK button in browser to go back to very first page again, the basket shows "0 item" although the basket has actually "1 item" in it. So, how do I solve this problem? Is it related to cache or refreshing etc. I read a bit about caching but I lost myself in it also not sure it is to do with it anyway.

Is there anything I can do with CI functions? Placing a code on top of the page or caching bits....

Thanks for advance


Messages In This Thread
Back button and caching - by El Forum - 06-17-2011, 05:27 AM
Back button and caching - by El Forum - 06-17-2011, 05:36 AM
Back button and caching - by El Forum - 06-17-2011, 05:39 AM
Back button and caching - by El Forum - 06-17-2011, 05:50 AM
Back button and caching - by El Forum - 06-17-2011, 05:55 AM
Back button and caching - by El Forum - 06-17-2011, 06:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB