• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with redirect() - page refresh needed to see changes

#1
[eluser]stuart_g[/eluser]
I've written a shopping cart, and have separate functions for deleting items and emptying the cart, which redirect to the display basket function.

However, when I redirect the removed items etc. don't update in the basket until I manually refresh the page. I've specified the 'refresh' option in the redirect function, and that fixed the issue in IE 6, but Firefox 3 is still not showing changes until I force it.

Any ideas as to why this is? This problem has only cropped up since I moved the site from a local Windows XAMPP installation to Redhat 5 LAMP. On the test machine I didn't have any problem with refreshing whatsoever.

Many thanks

#2
[eluser]stuart_g[/eluser]
Just an update - I've been investigating myself, and I think it's to do with the more aggressive caching policy Firefox has taken since version 3. Others have reported that even if you try to force it with no-cache headers, it ignores them (and this has been reported as a bug). Still searching for a solution.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.