Jump to content

best strategy to prevent BACK BUTTON from messing up shopping cart quantities


slushpuppie

Recommended Posts

trying to figure out how to handle this scenario:

 

***

say i have 5 items in a shopping cart and hit a button to delete them all. i will then be shown a shopping cart with 0 items(or any empty cart message)... but if i hit the BACK BUTTON in my browser the shopping cart would still show 5 items in it...

***

 

what strategy could be used to get around this? is there something that could force the page to refresh once it's loaded? or a way to make the page pull in the proper quantity whether it's being loaded or reached by the back button?

 

thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.