kirkh34 Posted November 26, 2010 Share Posted November 26, 2010 i have a problem i just noticed....i've built a shopping cart that totals quantities of items and shipping etc then a submit button to a payment page... but if a user refreshes the same page after first coming to the cart page it messes up all the totals and data..... i know this has to be a common problem with webpages... does anyone have any advice on combating this issue? any advice is much appreciated..thanks! Link to comment https://forums.phpfreaks.com/topic/219928-when-page-refreshedstop-resending-of-data/ Share on other sites More sharing options...
intellix Posted November 26, 2010 Share Posted November 26, 2010 You have to post to a processing.php sort of page that then redirects you to the end page... form > process.php > (Perhaps store anything returned to a session) > (clear session stuff stored if you did) results page Link to comment https://forums.phpfreaks.com/topic/219928-when-page-refreshedstop-resending-of-data/#findComment-1140021 Share on other sites More sharing options...
kirkh34 Posted November 26, 2010 Author Share Posted November 26, 2010 awesome i'll try this out thanks! Link to comment https://forums.phpfreaks.com/topic/219928-when-page-refreshedstop-resending-of-data/#findComment-1140032 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.